Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4KB EDM data event size #39

Open
unizippro opened this issue Mar 29, 2022 · 1 comment
Open

4KB EDM data event size #39

unizippro opened this issue Mar 29, 2022 · 1 comment
Labels
bug 🐛 Something isn't working

Comments

@unizippro
Copy link
Contributor

unizippro commented Mar 29, 2022

EDM data events can be 4KB in size as per specification.
This means the line defining DATA_PACKAGE_SIZE is wrong.

With the current way of buffering data this means ATAT needs to be required to allocate multiples times this size.. For it to function properly.

Not configuring this size of buffer would will stall the driver.

@unizippro unizippro added the bug 🐛 Something isn't working label Mar 29, 2022
@unizippro
Copy link
Contributor Author

unizippro commented Mar 29, 2022

Largest observed EDM event (length=2031bytes):

396038 ERROR OVERFLOW DATA! Buffer: b"\xaa\x07\xef\x001\x03\x0f\xbd\xe8\xf0@\xff\xf7\xbb\xb9\x10\xa8M\xf0\xab\xfcO\xf0\xd9\xfb?\xf4\xea\xad\xbd\xf8B 7\xe2\x10\xa8M\xf0\xa4\xfc\x10\x98\x01(?\xf4\xe0\xad\x11\x9a.\xe2(}M\xf01\xfc@\xf0b\x82\x95\xf8\x15\xb0\x95\xf8\x16\x90(u\x00\x06\x00\xf0\xc4\x80\x00 O\xf0\n\x0b\x90\x10\x01\x10\x88BS\xd2O\xf0\x9f\xfaV\xd0\x11\x98)F\x0b\x00\x00\x12\x98\n\x90\x10\xa8\xf0\x00\x00\x00u\xfa\x00\xf0,\xf9?\xf4\x9c\xae\x9d\xf8A`\x10\xa8#\xa9\t\xf0\x8b\xff\x10\x98\x01(?\xf4\x00\xff\xae\x11\x98\x01(@\xf0\xf5\x80\x12\x98\t\x90\x10\xa8#\xa9\t\xf0}\xff\x10\x98\x01(?\xf4\x84\xae\x11\x00\x01(@\xf0\xe7\x80\xd5\xe9\x01\x10\x88B$\xd2O\xf0p\xfa'\xd0\xdd\xf8H\x00\x00\x00\x00\x00\x10\xa8\x00\xf0\xff0\xf0\x02\xb8[$aws/things/6b44b774e74b2301/streams/AFR_OTA-de7e19e6-68f7-4826-8b5c-8935b6ac17a7/data/cbor\xbfaf\xd8ai\x18\x19al\x19\x01\x81apY\x01\xc7\xfe\x10\x10\x98\x01(?\x00p\xae\xdd\xe9\x11\xba\x10\xa8)F\x02\xf0\x87\xf9N\xf0\xf6\xf8?\xf4f\xae\x9d\xf8A\x98O\xea\x19(\x01(@\xf0\x05\x81\x9d\xf8B\x86\xff(\xf0\n\x81(\x04F\n!\xfe\xe0(F\x04!\x02\xf0\x82\xf9\x91F\x03\xe0\x8a! O\xf0\t\"\x01#*}V\x1c\xf2\xb2\xb2B@\xf0\xe0\x80\xbd\xf80 \xa4\xf8\x1d \x9d\xf82 \xe2wO\xea\x18B\xa4\xf8\x11\x80\x84\xf8\x1c\xe0\xc4\x00\x05\xba\x84\xf8\x10\x90.u\xe2t\xc4\xe9\xaf<\x80\xe0\xff(\x1f\xd1\x10\xa8N\xf0\xd1\xf8\xff\xf7\x7f\xbc\xff(\x18\xd1N\xf0\x19\xfa\x06F#\xa8\x88FN\xf0\xc6\xf8#\xaaN\xf0\xce\xff\x10\xa8\xfe\xf7\xd1\xfe\x10\x98\x01(\x7f\xf4l\xac\x12\x98\x13\x99\x9d\xf8P M\xf0\xdb\xfd\xff\xf7*\xbc(F\t!\x02\xf09\xf9\xc4\xe9\x02\x01\"t\xff\xf7\x1f\xbcM\xf02\xfd\xff\xf4\xe0\xacM\xf0)\xfd\xff\xf4\xb2\xadM\xf0 \xfd\xff\xf4\xd8\xacN\xf0\"\xf9J\xdc\x98(0\xf0\x00\x02\xf6\x00[\x00\x00aw\x00\x00\x00\x00/t\x00h\x00\x00\x00\x00ng\x00\x00\x00/6\x00b\x00\x004\x00\x00\x00b\x00\x007\x00\x00\x004\x00\x00e\x00\x004b\x00\x002\x00\x00\x00\x000\x001\x00stre\x00\x00m\x00\x00s/A\x00\x00\x00\x00\x00\x00R\x00\x00O\x00\x00T\x00A\x00d\x00e7\x00\x0019e6-68f7-4826-8b5c-8935b6ac17a7/data/cbor\xbfaf\xd8ai\x18\x1bal\x19\x01\x81apY\x01\xe7\xfb\x10\xff\xf4Q\xacM\xf0<\xff\xff\xf4M\xac\x19H(!\x19J\x06\xe0\x12H!!\x12J\x02\xe0\x0eH\x1c!\x0eJ\x1c\xf0M\xfc\xfe\x00O\xf0\xa3\x0c\x04\x9a0F\x03\x99\x96\xe7(F\x04!\x02\xf0\x85\xf8\xdd\xf8,\xc0\x00\x00\x00F\x01#\xb6F\xe7\x96#\xdd\xf8,\xc0\xdd\xe9\t\x10\xf7\xe7\x84\xbfpl\x05\x08\x14\xcd\x05\x08@l\x05\x08\x04\xcd\x05\x08 \xdb\x05\x08\xcb=\x02\x080\xdb\x05\x08\xdc\x1a\x06\x08\xf4\xcc\x05\x08\xf0\xb5\x03\x00M\xf8\x00\x04\x8d\xa0\xb0F\x00\x00\x00\x06\xa8\x00\xf0&\xffM\xf0\x15\xf9\x05\xd1M\xf0\xb2\xfb t\x01  `\x05\xe0N\xf0\xeb\xf9\x05\xd2\xc8!\xc4\xe9\x10 \xb0\x08M\xf0\x07\xbaN\xf0V\xf8%\xd9M\xf0\xff\xfe4\xd9M\xf0\xf8\xfeE\xd9M\xf0\xf1\xfe@\xf2V\x80M\xf0\xe9\xfe@\xf2b\x80M\xf0\xe1\xfe@\xf2z\x80M\xf0\xd9\xfe@\xf2j\x80M\xf0\xd1\xfe\xb3\xf2\x94\x80\xdf\xe8\x11\xf0\x04\x81\xd9\x01\xaf\x01\xc8\x01\x06\xa8M\xf0R\xf9\x9d\xf8\xff0\x00\x00\x02\x8b[$\x00\x00ws/\x00t\x00\x00\x00\x00\x00in\x00\x00s/\x006\x00\x00b\x00\x00\x004\x00\x00b74\x00e\x00\x007\x00b23\x00\x000/\x00st\x00\x00\x00\x00eams/\x00FR\x00_\x00O\x00\x00A\x00-d\x00\x00\x007e\x00\x00\x001e\x00\x006\x00\x00-\x008\x00\x00f\x0074\x00\x008\x00\x002\x00-\x008\x00\x00b\x00c-\x00\x00\x008\x0035b6\x00\x00\x00\x00\x00c\x00\x001a7/data/cbor\xbfaf\xd8ai\x18\x1cal\x19\x01\x81apY\x01\x18P\xd3\xe1\xdf\xe8\x11\xf0\xb9\x01\xb9\x01\xb9\x01\xb9\x01\x8a\x88\x0cJ\x01Z\x01\x86\x02\x86i\x18\x18al\x19\x01\x81apY\x01(\xfe\x10\x80\xf0\xed\x80 F)F+\xb0\xbd\xe8\x85\x0f\xbd\xe8\xf0@\xff\xf7\xc4\xb9\x82(\xf0D\x81(F\x02\x06!\xd6\x00(\x7f\x10\xf56\xadO\xf0(\xfe\x0c\x91\r\x900F:!\xcd\xe9\x0e\"M\xf0W\xfd\x90%\xcd\xe9 h\x01&\"\x95(\x96)\xa8'\x90\x02 $\x90\xc5H#\x90\xc5H\xcd\xe9%U*\x90\x0c\xa8)\x90 \xa8#\xa9%\xf0}\xf9\xc1I\t\xf0\xc6\xfd \xaaM\xf0\xd0\xffN\xf0\xde\xf9\xd2\xe4(F\x05!\x01\xe0(F\x0f!\x02\xf0\xdf\xf9\xe9\x00\xd5\xe9\x01\x10\x88BS\xd2O\xf0\x9f\xfaV\xd0\x11\x98)F\x0b\x90\x12\x98\n\x90\x10\xa8\x01\xf0u\xfaN\xf0,\xf9?\xf4\x9c\xae\x9d\xf8A`\x10\xa8#\xa9\t\xf0\x8b\xff\x10\x98\x01(?\xf4\x92\xff\xae\x11\x98\x01(@\xf0\xf5\x80\x12\x98\t\x90\x10\xa8#\xa9\t\xf0}\xff\x10\x98\x01(?\xf4\x84\xae\x11\x98\x01(@\xf0\xe7\x80\xd5\xe9\x01\x10\x88B$\xd2O\xf0p\xfa'\xd0\xdd\xf8H\x90\x10\xa8O\xf0\xff0\x00\x00\x02\xb8[$\x00\x00ws/\x00t\x00\x00\x00\x00\x00in\x00\x00s/\x006\x00\x00b\x00\x00\x004\x00\x00b74\x00e\x00\x007\x00b23\x00\x000/\x00st\x00\x00\x00\x00eams/\x00FR\x00_\x00O\x00\x00A\x00-d"

Might Be limited by WiFi MTU(2304 bytes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant