Search found 14 matches

by xwb
Sat Apr 03, 2021 2:43 pm
Forum: Programs, Libraries and Tools
Topic: OSError: stream operation not supported - Github OTA Library
Replies: 0
Views: 1603

OSError: stream operation not supported - Github OTA Library

Dear all, I am using the library: https://github.com/rdehuyss/micropython-ota-updater/issues/18 for OTA Updates. However, I am experiencing the below error: OSError: stream operation not supported The specific line where this error occurred is: result = ujson.load(self._socket) where self._socket = ...
by xwb
Wed Dec 23, 2020 4:07 am
Forum: General Discussion and Questions
Topic: Requesting help regarding rdehuyss / micropython-ota-updater
Replies: 0
Views: 1386

Requesting help regarding rdehuyss / micropython-ota-updater

Dear all, (Hopefully this post is in the correct category) Despite a lot of trial and error, I still have a lot of questions and issues regarding using this OTA library. I was wandering whether there is anyone who has used this library before and has some expertise and understanding in how it works....
by xwb
Tue Nov 24, 2020 10:15 am
Forum: Programs, Libraries and Tools
Topic: Making HTTPS POST requests with basic auth
Replies: 3
Views: 2755

Re: Making HTTPS POST requests with basic auth

Slight issue:

In line 21 of your code:
TypeError: string indices must be integers, not str


Investigating
by xwb
Tue Nov 24, 2020 10:04 am
Forum: Programs, Libraries and Tools
Topic: Making HTTPS POST requests with basic auth
Replies: 3
Views: 2755

Re: Making HTTPS POST requests with basic auth

Dear Johannesl
Thanks very much. This is very helpful. I will try and implement tonight and I will report progress if it is successful.
by xwb
Sat Nov 07, 2020 12:30 pm
Forum: ESP32 boards
Topic: Configure ESP32 WiFi over Bluetooth
Replies: 2
Views: 3054

Re: Configure ESP32 WiFi over Bluetooth

Same question. Trying to investigate, maybe GATT? Like emulating the BluFi Library from Espressif?
by xwb
Mon Nov 02, 2020 10:21 am
Forum: ESP32 boards
Topic: BLE gap_scan MAX Frequency ?
Replies: 0
Views: 1707

BLE gap_scan MAX Frequency ?

Dear all, I am doing an indoor localisation project with esp32s and MicroPython and I am interest in receiving as much data as possible to increase the probability of scanning my beacon. I will provide the details of my beacon like advertising frequency later. In addition, will there be any conseque...
by xwb
Sat Oct 31, 2020 2:32 pm
Forum: ESP32 boards
Topic: help with bluetooth esp32
Replies: 4
Views: 2441

Re: help with bluetooth esp32

ok no its not that simple different beacons have different characters before the uuid. Will update when I have time. Obviously not the correct way to detect ibeacons as you can simply refer to the hex values but it works for me for now
by xwb
Sat Oct 31, 2020 2:31 pm
Forum: ESP32 boards
Topic: How to decode IBeacon BLE?
Replies: 2
Views: 1903

Re: How to decode IBeacon BLE?

ok sort of solved if I have time I will update asap.
by xwb
Sat Oct 31, 2020 10:42 am
Forum: ESP32 boards
Topic: help with bluetooth esp32
Replies: 4
Views: 2441

Re: help with bluetooth esp32

Ok I feel like I should help everyone who may visit this page in the future who are trying to read Ibeacons with their esp32. If anyone needs help about specific parts of the implementation, feel free to reply to the post For the raw data: 1: Decode the raw input data with ubinascii.hexlify(advertis...
by xwb
Sat Oct 31, 2020 1:58 am
Forum: ESP32 boards
Topic: help with bluetooth esp32
Replies: 4
Views: 2441

Re: help with bluetooth esp32

Agreed. Followed this post and downloaded the NRF Connect app. It is very helpful. However, how can you decode the Raw Data properly? It Is something like 0x1AFF4C0002150000000000.......2000DBF (UUID is 00000000-0000-0000-0000-000000000000 Major is 2, Minor is 13) Most other libraries return somethi...