Closed sdetweil closed 1 year ago
I changed the receiver characteristic to write and now I see updates at the device.
(1288×511)+280 = 658448.
but the device reports incorrect data size. 651264 7184 short 7184−(14×511). + 30
this is repeatable..
this is an erroneous message. it's really crc mismatch...
i am working thru porting upload to my app
firmware image is 658448 bytes sending 512 byte blocks, is 1287 sends
I added debugging on entrance/exit to onData and handleBegin and handlePackage device begin to end.. 80 times receiving data, 7 times says sending ok from handlePackage, 10 512/blocks between OK's
the app loop for send is quite higher priority than the subscribe notice, so the oks flood in at the end...
app
same device code works ok w python uploader
the python uploader doesn't sleep in its send loop either