You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/my_sensor_app/README.md
+32-23Lines changed: 32 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,29 +16,38 @@ sensor data (JSON format) to a CoAP (UDP) Server, such as thethings.io.
16
16
17
17
<b>4️⃣ WiFi Geolocation (Blue Pill with ESP8266):</b> The program sends WiFi Access Point MAC Addresses and Signal Strength scanned by ESP8266 to a CoAP (UDP) Server, such as thethings.io. See https://github.com/lupyuen/thethingsio-wifi-geolocation
18
18
19
-
The C application code in this folder is no longer in use, except `stub.c` and `vsscanf.c`. The application has been ported to Rust in [`/src`](/src)
The application has been ported to Rust in [`/src`](/src)
20
+
21
+
The C application code in this folder is no longer in use, except `stub.c` and `vsscanf.c`
22
+
23
+
[`src`](src): Stub application source files in C for Mynewt build. These C files are compiled into the Mynewt ROM image. These files are stubs, the actual application source files have been ported to Rust in [`/src`](/src)
24
+
25
+
[`src/stub.c`](src/stub.c): Low-level C functions needed for the Mynewt application
26
+
27
+
[`src/vsscanf.c`](src/vsscanf.c): Patched version of `apps/my_sensor_app/src/vsscanf.c` that
28
+
fixes ESP8266 response parsing bugs. The patched file must be present in that location.
29
+
30
+
[`pkg.yml`](pkg.yml): Mynewt application info and dependencies
[`OLDsrc/listen_sensor.c`](OLDsrc/listen_sensor.c): (NOTUSED) Register Listener Function to be called by Mynewt after polling the temperature sensor every 10 seconds
45
+
46
+
[`OLDsrc/listen_sensor.h`](OLDsrc/listen_sensor.h): (NOTUSED) Register Listener Function to be called by Mynewt after polling the temperature sensor every 10 seconds
47
+
48
+
[`OLDsrc/send_coap.c`](OLDsrc/send_coap.c): (NOTUSED) Send and receive sensor data via ESP8266 and nRF24L01
49
+
50
+
[`OLDsrc/send_coap.h`](OLDsrc/send_coap.h): (NOTUSED) Send and receive sensor data via ESP8266 and nRF24L01
0 commit comments