I replied to an exisiting thread but knowing this forum, it is better to start a new thread.
I have an ESP8266 connected to the Wifi port of the telephone. This ESP8266 does not have an internet connection... (we are in the field with the application). The android app is gathering information from the device connected to the ESP8266.
in the android App, we add some info and we we upload the data with a HTTPjob...
This works well in the test environment where everything is in the same area (the ESP8266 is client)..
In the field, the ESP must be an AccesPoint.. This also works well. The data from the ESP8266 is perfectly downloaded in our app. The problem is in the upload. Although the telephone has a mobile connection, the HTTPjob Probably tries to use the open wifi connection to the ESP and can not execute..
In the answer of the exiting thread, there is a link: Try this: https://www.b4x.com/android/forum/threads/mqtt-chat-network-error.90892/post-574610 . However, this post is to let the application prefer the wifi connection...
In my case, the application must use both but the Mobile data connection for the httpjob...
Can anybody please help me??
I have an ESP8266 connected to the Wifi port of the telephone. This ESP8266 does not have an internet connection... (we are in the field with the application). The android app is gathering information from the device connected to the ESP8266.
in the android App, we add some info and we we upload the data with a HTTPjob...
This works well in the test environment where everything is in the same area (the ESP8266 is client)..
In the field, the ESP must be an AccesPoint.. This also works well. The data from the ESP8266 is perfectly downloaded in our app. The problem is in the upload. Although the telephone has a mobile connection, the HTTPjob Probably tries to use the open wifi connection to the ESP and can not execute..
In the answer of the exiting thread, there is a link: Try this: https://www.b4x.com/android/forum/threads/mqtt-chat-network-error.90892/post-574610 . However, this post is to let the application prefer the wifi connection...
In my case, the application must use both but the Mobile data connection for the httpjob...
Can anybody please help me??