Description
As the title states, bt_le_characteristic_read will not update values after the initial read request. This only happens in Gamemaker. If I connect to my BLE server with "nRF Connect" on mobile, the values are read properly.
In Thonny I have a simple increment to test:
while True: num +=1 p._ble.gatts_write(p.temp_tx, str(num)) print(str(num));
In the Gamemaker social async event, the read request returns the correct value only the first time it is used.
If I continue to call bt_le_characteristic_read, the output is the initial value - not the updated value.
Expected Change
No response
Sample Package
https://api.gamemaker.io/api/github/downloads/000f6e64-0f70-4533-aed1-2d916e2743f9
Steps To Reproduce
- Start GameMaker
- Connect to a BLE server
- Read a characteristic handle value
- Update a characteristic handle value on the server
- Read the characteristic handle value again, the value will not have changed.
- See the issue
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.14.2.256
Which platform(s) are you seeing the problem on?
Windows, Android
Description
As the title states,
bt_le_characteristic_readwill not update values after the initial read request. This only happens in Gamemaker. If I connect to my BLE server with "nRF Connect" on mobile, the values are read properly.In Thonny I have a simple increment to test:
while True: num +=1 p._ble.gatts_write(p.temp_tx, str(num)) print(str(num));In the Gamemaker social async event, the read request returns the correct value only the first time it is used.
If I continue to call
bt_le_characteristic_read,the output is the initial value - not the updated value.Expected Change
No response
Sample Package
https://api.gamemaker.io/api/github/downloads/000f6e64-0f70-4533-aed1-2d916e2743f9
Steps To Reproduce
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.14.2.256
Which platform(s) are you seeing the problem on?
Windows, Android