Rinaldi Jandrinata

Results 33 comments of Rinaldi Jandrinata

i have manually edit mpy 1.20.0 source code accordingly to this commit and compiled using IDF 4.4.4 i can confirm this commit still valid for mpy 1.20.0 source code.

Hello there. I'm just make new PR for the current codebase, so it can be merged. > 1. RTC_VALID_EXT_PINS are only those that are "are powered by the VDD3P3_RTC power...

> @puppet13th I agree: RTC_VALID_EXT_PINS macro need to allow for pins 0 to 5 for deep sleep wakeup (from the espressif docs: "RTC: GPIO0-5 can be used to wake up...

> great, looking forward to test it. Please let me know when I can download an image with the new PR... don't know when will it get merged,you can compile...

Updated ESP_SLEEP_WAKEUP_GPIO QSTR to GPIO_WAKE. ``` MicroPython 07e52c657-dirty on 2024-01-10; ESP32C3 module with ESP32C3 Type "help()" for more information. >>> import machine >>> machine.GPIO_WAKE 7 ```

@neil-morrison44 if you want to pico-w to connect to anything you should use central role( scan and connect ) like this [aioble example](https://github.com/micropython/micropython-lib/blob/master/micropython/bluetooth/aioble/examples/temp_client.py). the code that you're using now is...

from this [picture](https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleMediaService_Reference/Art/Figure%202-2_2x.png) there is MS and MR. what is pico role there?

@neil-morrison44 after connection try add these line: ``` await connection.exchange_mtu() await connection.pair( bond=False, le_secure=False, mitm=False ) ``` if those config not implemented for pico-w yet you can edit [security.py](https://github.com/micropython/micropython-lib/blob/master/micropython/bluetooth/aioble/aioble/security.py) comment...

@neil-morrison44 i have not use any pico-w board yet, have you check if ble pair implemented in pico-w port? on esp32 port pair only implemented since firmware version 1.20

```py import asyncio def counter( num ): count = num while True: count += num print( count ) await asyncio.sleep( 1 ) event_loop = asyncio.new_event_loop() task_list = [] for num...