Closed robert-hh closed 2 years ago
At the moment SOCK_RAW should only be using with Lora and Sigfox.
The question is not, whether Pycom software is using it, but whether user software can use it. It is just the symbol definition, that is missing. Supplying 3 as the value of that symbol works.
Thanks @robert-hh. We will test and put the constant for the wifi also.
For an unknown reason, the symbol SOCK_RAW is not defined in the WiPy branch. Using the integer 3 (which is it's value) in the respective situation works. So may I ask you not to exclude WIPy in the definition of SOCK_RAW. The place to go is here: https://github.com/pycom/pycom-micropython-sigfox/blob/Dev/esp32/mods/modusocket.c#L1017