B4X FEED B4X BlueTooth - error connecting B4J to B4A Chat Demo - BigEndian, LittleEndian OH My!

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: B4X BlueTooth - error connecting B4J to B4A Chat Demo - BigEndian, LittleEndian OH My! است. این موضوع تا کنون 112 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع B4X BlueTooth - error connecting B4J to B4A Chat Demo - BigEndian, LittleEndian OH My!
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
112
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,576
4,481
Wasn't sure where to put this message since it is more of a heads up than a question. Using the new B4A BlueTooth Chat example I couldn't connect to B4J JBlueTooth after playing around I found that Two B4As connected OK but if I sent a message from B4A to B4J nothing happened - AStream_NewData never fired. If I sent from B4J then B4A would fail with no error just the message "connection is broken".

While looking at the code I found this note in the new B4A:
B4X:

'prefix mode! Change to non-prefix mode if communicating with non-B4X device.
Then, in comparing the lines in both programs:
B4X:

AStream.InitializePrefix(serial.InputStream, False, serial.OutputStream, "astream")
I found that one is set for BigEndian (true) and the other for...



 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا