Search found 3 matches

by Eckaard
Mon Mar 22, 2021 8:06 pm
Forum: WiPy and CC3200 boards
Topic: UART with GSM SIM800L
Replies: 17
Views: 112928

Re: UART with GSM SIM800L

To anyone still interested in using the SIM800L from MicroPython, here is a pure-MicroPython driver ready to use. You can use it as-is or just see how to do things in the right way. Happy coding! :) https://github.com/pythings/Drivers/blob/master/SIM800L.py Good day, With regards to Sarusso's drive...
by Eckaard
Fri May 15, 2020 12:23 pm
Forum: Pyboard D-series
Topic: BLE Broadcasts vs Scans
Replies: 7
Views: 6648

Re: BLE Broadcasts vs Scans

Replying to my own question. This seems to work: import time import ubluetooth import ubinascii from micropython import const _IRQ_SCAN_RESULT = const(1 << 4) _IRQ_SCAN_COMPLETE = const(1 << 5) mac=None def bt_irq(event, data): global mac if event == _IRQ_SCAN_RESULT: addr_type, addr, adv_type, rssi...
by Eckaard
Fri May 15, 2020 10:11 am
Forum: Pyboard D-series
Topic: BLE Broadcasts vs Scans
Replies: 7
Views: 6648

Re: BLE Broadcasts vs Scans

Hi, I was hoping you could perhaps help me out. I am trying to implement a continuous scan which only ends once a specific ble beacon is found (I did read somewhere that the scanning timeouts after 7 hours, If this is the max, I'll just restart the process). Once found a different process will start...