Acknowledged

App crash on communication error

Both simulator and GPSMAP 67i are crashing, when a communication error occurs (like no connection to phone) and responseCallback with 3 arguments is given (context option)

It works properly, when no error or a simple HTTP error response is returned (like 404).

To reproduce, use slightly modified  WebRequest sample attached to next comment.

Compile and run the code, press Enter to make the request, everything is fine, if BLE connection exists.

Break the connection between device and phone (terminate Explore app) or use simulator menu Settings>Connection Type>BLE>Not Connected, then launch the app again, press Enter, the app is hardly closed

Parents Comment Children