How to send string to an arduino device ?
James Sentman
james at sentman.com
Sun Jan 29 17:21:35 EST 2023
Hello Eric!
Please tell me more about what you expect to get in the arduino and what it’s going to be used for? There is a loop in the process xtension or whatever the thing is called that is called from the main loop that reads characters from the input socket into a buffer, and when it sees the newline, or possibly carriage return I can’t remember now but I’ll look for sure before I do anything ;) it finalizes the buffer as a CString and passes it off to a Process Command handler. Thats the one you’ll need to extend to also recognize your new message. But how to do that depends a great deal on what you want to do with it. So please tell me more either here or off the list and I’ll try to help. If you’d like to send me the arduino source off the list I’ll probably be better able to help.
> On Jan 29, 2023, at 2:57 PM, Domotique <eric.berdah.domotique at gmail.com> wrote:
>
> Hello james,
>
> thanks for your response.
>
> i'm not using xbee.
>
> i’m using esp32 in wifi mode with your xtension arduino library
>
> in the arduino code , i don’t know how to received string from xtension
>
>
> thank’s
>
> eric
>
>
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
Thanks,
James
James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com
More information about the XTensionList
mailing list