glenn20 / micropython

MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
https://micropython.org
Other
38 stars 9 forks source link

Developing ESP-NOW for circuitpython #4

Closed americoperez49 closed 1 year ago

americoperez49 commented 1 year ago

Hi Glenn, I wasn't sure how else to get a hold of you so sorry for the "issue".

I am interested in integrating ESP-NOW with CircuitPython but I have no idea where to start.

Would you be interested in helping me get started/maybe coach me a little so I can attempt this?

glenn20 commented 1 year ago

@americoperez49 Sorry for the slow response - I've been on holiday for the last week. I know little about circuitpython - especially in the C layer, but I'm happy to help out with this. I imagine it would not be too painful ;).

Do you have a good understanding of the circuitpython internals?

Based on the little that I do know, I believe there is strong compatibility at the C layer (types, etc.) but differences in driver implementations. The esp-now module does lean on the WLAN class implementation and may be sensitive to differences or divergences there.

americoperez49 commented 1 year ago

Hi Glen,

Not a problem. Hopefully your holidays are going well ☺️.

Honestly, my knowledge of the lower level implemention of circuitpython is next to none. With that said, I've been programming for a long time now and I'm sure that whatever I find I'll be able to figure out either on my own or by asking the circuitpython devs directly.

On Mon, Sep 26, 2022, 7:56 PM glenn20 @.***> wrote:

@americoperez49 https://github.com/americoperez49 Sorry for the slow response - I've been on holiday for the last week. I know little about circuitpython - especially in the C layer, but I'm happy to help out with this. I imagine it would not be too painful ;).

Do you have a good understanding of the circuitpython internals?

Based on the little that I do know, I believe there is strong compatibility at the C layer (types, etc.) but differences in driver implementations. The esp-now module does lean on the WLAN class implementation and may be sensitive to differences or divergences there.

— Reply to this email directly, view it on GitHub https://github.com/glenn20/micropython/issues/4#issuecomment-1258834557, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDJSEPDP77L42C5BIKZPWDWAJA5VANCNFSM6AAAAAAQQXDIOQ . You are receiving this because you were mentioned.Message ID: @.***>

glenn20 commented 1 year ago

OK - I'm sure we can figure it out with some help :-). I'm just trawling around the circuitpython repo now, familiarising myself with the layout and interfaces.

americoperez49 commented 1 year ago

Ya I'm looking through it now as well. I 'll definitely need some help with understanding some of these things since I'm completely new to this. If you have any tips on where I should start, please let me know.

On Mon, Sep 26, 2022, 9:37 PM glenn20 @.***> wrote:

OK - I'm sure we can figure it out with some help :-). I'm just trawling around the circuitpython repo now, familiarising myself with the layout and interfaces.

— Reply to this email directly, view it on GitHub https://github.com/glenn20/micropython/issues/4#issuecomment-1258888459, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDJSEKEW4VNZ3FUH4UHBXDWAJMXRANCNFSM6AAAAAAQQXDIOQ . You are receiving this because you were mentioned.Message ID: @.***>