LairdCP / Lyra_Firmware

Lyra module binary release page
3 stars 1 forks source link

0x00 Byte not bridged when Lyra module is in VSP mode #14

Open jacolas123 opened 9 months ago

jacolas123 commented 9 months ago

Hi,

When testing on a Lyra-P Development Kit (453-00090-K1) and a custom board with a Lyra-P module (Both with firmware version GA2.2, no other modules have been tested), when in VSP mode, the byte 0x00 is not outputted by the module's UART when the VSP's RX characteristic is written to (Tested on an Android device with the EFR Connect app, the nRF Connect app and a custom developed app. The Android device's Bluetooth log has been checked, and shows the 0x00 byte is written to the characteristic).

Steps to Reproduce:

  1. Run a Lyra-P module with the VSP enabled
  2. Connect to the module using a BLE device
  3. Follow the steps on page 9 of the AT Interface User Guide to finish the setup and configuration of the VSP
  4. Write a byte array containing the byte 0x00 to the VSP's RX characteristic (569a2001-b87f-490c-92cb-11ba5ea5167c)
  5. View the modules UART and the 0x00 byte(s) will not be present (i.e. if FF 00 00 FF is written, FF FF will be sent via the module via UART)

Screenshot of the EFR Connect app sending byte array 0xFF 0x00 0x00 0xFF:

EFR Connect Screenshot

Screenshot of UwTerminal connected to the Lyra-P Development Kit (FF has been converted into UTF-8 representation):

uwterm

Screenshot of Realterm, displaying the serial port data as hex values:

realterm

Screenshot of the output of a logic analyser connected to the UART pins of a Lyra-P Module, showing the hex representation of the data:

waveforms

Screenshot of the Android device's Bluetooth Log, showing 0xFF 0x00 0x00 0xFF written to the VSP's RX Characteristic:

bluetooth hci log

Thanks, Jack

FlorianBaumgartl-Ezurio commented 9 months ago

Good day, Jack. Many thanks for your very detailed error description. You are absolutely right here. Our engineering team found and fixed the issue in the mentioned GA2.2 release. Please feel free to drop me a line via our Support Portal (support@lairdconnect.com), and I'm happy to share with you an interim engineering release version for testing already.

FlorianBaumgartl-Ezurio commented 9 months ago

This is for future reference and documentation purposes only. Bug ID 25083 has been assigned to this issue.