Closed pcbtborges closed 2 years ago
Yea but only if you use an Arduino compatible WiFi library and modify the mysql_packet.h file accordingly. See other posts on the topic.
On Tue, Jul 30, 2019 at 06:35 Paulo Borges notifications@github.com wrote:
Hi, Will this library work with ESP32? Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChuckBell/MySQL_Connector_Arduino/issues/107?email_source=notifications&email_token=AB6SHYGHEZ3FN6TU3KIG6ZDQCAKPRA5CNFSM4IH24IY2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCIM4PA, or mute the thread https://github.com/notifications/unsubscribe-auth/AB6SHYBCJSAJLE4ENJSLWNLQCAKPRANCNFSM4IH24IYQ .
OK, thanks for the response. What do you mean using "Arduino compatible WiFi library" I just use the standard WiFi.h (and WiFisecure.h) library that is loaded when you install ESP32 on the Arduino IDE, Will this one work? What sort of change will be required on mysql_packet.h? Thanks
A compatible library is one that implements the same interface as the Arduino classes (same methods). See #include Ethernet.h.
On Tue, Jul 30, 2019 at 17:15 Paulo Borges notifications@github.com wrote:
OK, thanks for the response. What do you mean using "Arduino compatible WiFi library" I just use the standard WiFi.h (and WiFisecure.h) library that is loaded when you install ESP32 on the Arduino IDE, Will this one work? What sort of change will be required on mysql_packet.h? Thanks
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ChuckBell/MySQL_Connector_Arduino/issues/107?email_source=notifications&email_token=AB6SHYHLK257V3WL2INR3FDQCCVPFA5CNFSM4IH24IY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FKX5A#issuecomment-516598772, or mute the thread https://github.com/notifications/unsubscribe-auth/AB6SHYFHS2VHV3K6T7T63GDQCCVPFANCNFSM4IH24IYQ .
Ok, I see. But instead of making reference to Ethernet.h can I compare Arduino Wifi.h and ESP32 WiFi.h? Thanks
Correct. Substitute whatever WiFi library you want to use for Ethernet.h. Try to compile. If the connector compiles, you've got a good WiFi library. If not, try to find another.
On 7/30/19 5:34 PM, Paulo Borges wrote:
Ok, I see. But instead of making reference to Ethernet.h can I compare Arduino Wifi.h and ESP32 WiFi.h? Thanks
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ChuckBell/MySQL_Connector_Arduino/issues/107?email_source=notifications&email_token=AB6SHYB5ASTLRDYBC7FQ65DQCCXV3A5CNFSM4IH24IY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FMGSA#issuecomment-516604744, or mute the thread https://github.com/notifications/unsubscribe-auth/AB6SHYC5IHM7VZZK6JVCW5TQCCXV3ANCNFSM4IH24IYQ.
Hi, Will this library work with ESP32? Thanks