BLE UART TX 作为接收器,RX 作为发送器

BLE UART TX as a receiver and RX as a transmitter

在 Adafruit 网站上,我发现了有关 TX 和 RX 特性的混淆信息。如此处所述,RX 充当发送器,TX 充当接收器。

但是上面的table我可以看到TX是写数据,rx是读数据

我以为TX->RX和RX<-TX只是单向连接。

我希望有人能帮助我解决这个令人困惑的信息。

TX (0x0002) This characteristic is used to send data back to the sensor node, and can be written to by the connected Central device (the mobile phone, tablet, etc.).

RX (0x0003) This characteristic is used to send data out to the connected Central device. Notify can be enabled by the connected device so that an alert is raised every time the TX channel is updated.

TX 是 Transmitter 的缩写。 RX 为接收器。 这些是从中央一侧看到的。 Central can/should 在 RX 特征上启用通知以获取数据而无需轮询。