Hello everyone.
I am using esp idf v3.3. I want to use slip librairy for serial communication with two MCU's. is slip lib available in esp-idf ?
I have checked but not found. If not in esp idf then how to implement the same.
Kindly share any documention or reference.
slip library
slip library
Last edited by somesh on Thu Dec 19, 2019 5:27 am, edited 2 times in total.
Thanks,
Somesh Burkule
Somesh Burkule
Re: SLIP LIBRAIRY
& I also believe that IDF CAN should be fixed.
Re: SLIP LIBRAIRY
I have tried including in project, getting error. How include this in project? Any example for the same?
Thanks,
Somesh Burkule
Somesh Burkule
Re: SLIP LIBRAIRY
Shall I look into my crystal ball to see; 1) how you tried or 2) which error you received?
Why not just copy the file and associated headers. You will need to understand the ESP make system of course.
Why not just copy the file and associated headers. You will need to understand the ESP make system of course.
& I also believe that IDF CAN should be fixed.
-
- Posts: 9761
- Joined: Thu Nov 26, 2015 4:08 am
Re: SLIP LIBRAIRY
Note that that file only handles SLIP framing, not integration into any TCP/IP environment. If you want to shuttle IP packets back and forth on a network level, you may be better off using PPP, as LWIP supports that.
Mod note: seems your caps lock was accidentally on while typing the title of this post; I took the liberty to fix that.
Mod note: seems your caps lock was accidentally on while typing the title of this post; I took the liberty to fix that.
Re: SLIP LIBRAIRY
1) #include "slip.h" or #include "flasher_stub/slip.h"
2) No such file or directory
I think this file is use to flash esp. I tried copying directly file into project.
is there any example for it?
Thanks,
Somesh Burkule
Somesh Burkule
Re: SLIP LIBRAIRY
Hello ESP_Sprite,ESP_Sprite wrote: ↑Thu Dec 19, 2019 2:33 amNote that that file only handles SLIP framing, not integration into any TCP/IP environment. If you want to shuttle IP packets back and forth on a network level, you may be better off using PPP, as LWIP supports that.
Mod note: seems your caps lock was accidentally on while typing the title of this post; I took the liberty to fix that.
Thanks for your quick response.
I want to use this file for OTA over serial. please share any reference for same.
and sorry for the mistake I'll change title.
Thanks,
Somesh Burkule
Somesh Burkule
Re: slip library
Sounds like you are struggling with the build system.
I have used this file for reprogramming over serial (using the ESP32 ROM on the receiving side).
SLIP is a small part of your task. You will need to look at esptool.py to understand exactly what you need to do. The main task will be understanding the commands and so constructing the command buffers which are then sent using SLIP. You will also need to add your own backend UART level to write/read these commands to stream.
I would copy the files directly into your project. You will need to modify them anyway and this is the simplest solution whilst you get up to speed with the build system.
I have used this file for reprogramming over serial (using the ESP32 ROM on the receiving side).
SLIP is a small part of your task. You will need to look at esptool.py to understand exactly what you need to do. The main task will be understanding the commands and so constructing the command buffers which are then sent using SLIP. You will also need to add your own backend UART level to write/read these commands to stream.
I would copy the files directly into your project. You will need to modify them anyway and this is the simplest solution whilst you get up to speed with the build system.
& I also believe that IDF CAN should be fixed.
Who is online
Users browsing this forum: Baidu [Spider] and 87 guests