Firmware release 1.0.1.b1
-
@daniel Thank you! Unfortunately, some environments see MANY BLE advertisements, so a call-back (possibly filtering by an array of addresses) would be great.
-
@jasonriedy it caches 8 adv messages. I'll add that to the docs. In the future the API will also support registering callbacks.
-
@rcolistete it doesn't matter. What's important is that just before flashing the board the updeter tool reports the correct version of the firmware that it's going to program.
-
The bluetooth.start_scan(x > 0) interface may prove to be an issue for eventual deep sleep support... Not sure if there's a "better" way or not. The example under resolve_adv_data somewhat shows an issue. There's no way to break out of the loop once the scan finishes.
How many advertisements are cached? That should at least be documented.
I'll try to think of a more deterministic API, but I'm overloaded.
-
@rcolistete
but updater tool download data online@daniel
When AP+STA - i need it to create "Sensor Gateway"
Now i simulate it and change mode after recived some portion of data
and connect as STA.
After data sended back to AP mode.what is this?
OSError: [Errno 9] EBADF
-
The download link (https://www.pycom.io/support/supportdownloads/, Firmware update) for Linux points to v1.0.0.b2, for Windows points to v1.0.0.b1.
-
It looks very promising
all my code work stable in this version - i know not long test but work okconnected WiPy to computer and send sensor data
[2016-12-22 23:50:12] Recived: [Button1 is Off]
[2016-12-22 23:50:00] Recived: [Button1 is On]
[2016-12-22 23:45:22] Connect: 192.168.1.110[6933]
[2016-12-22 23:44:43] Server startedreally simple to accomplish
-
Looking good! Finally my SiPy + LoPy order seems to be shipping so will get to play with that new Bluetooth goodness soon :-)