Years ago I had the same problem and it was solved as you can see in this post
https://www.b4x.com/android/forum/t...eeprom-in-mqtt-initialize2.72492/#post-461148
Now I have updated to Arduino 2.3.4 and B4R 4.0 (I dont know if this is the problem, because I have been away from B4R for some time)
When I try to use ObjectCopy , that was part of the solution , I get a 'Guru Meditation Error: Core 1 panic'ed (LoadStoreError). Exception was unhandled.'
I can only copy array to array, not string to string.
That leaves me with a problem with Mqtt library as you can see in this post
https://www.b4x.com/android/forum/threads/how-to-use-a-string-from-eeprom-in-mqtt-initialize2.72492/
I have tried to copy the eeprom data to a GlobalStore but the problem with Mqtt library remains.
Mqtt library needs a literal string and byteconverter.StringFromBytes returns a dynamic string.
Anyone have any ideas and I will be very happy.
https://www.b4x.com/android/forum/t...eeprom-in-mqtt-initialize2.72492/#post-461148
Now I have updated to Arduino 2.3.4 and B4R 4.0 (I dont know if this is the problem, because I have been away from B4R for some time)
When I try to use ObjectCopy , that was part of the solution , I get a 'Guru Meditation Error: Core 1 panic'ed (LoadStoreError). Exception was unhandled.'
I can only copy array to array, not string to string.
That leaves me with a problem with Mqtt library as you can see in this post
https://www.b4x.com/android/forum/threads/how-to-use-a-string-from-eeprom-in-mqtt-initialize2.72492/
I have tried to copy the eeprom data to a GlobalStore but the problem with Mqtt library remains.
Mqtt library needs a literal string and byteconverter.StringFromBytes returns a dynamic string.
Anyone have any ideas and I will be very happy.