adafruit / adafruit/Basic-Chat

Successfully send command on TX side but Unable to receive data on RX side.

Open
#14 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
126
Forks
81
PR merge metrics
No merged PRs in 30d

Description

static let kBLEService_UUID = "6e400001-b5a3-f393-e0a9-e50e24dcca9e"
static let kBLE_Characteristic_uuid_Tx = "6e400002-b5a3-f393-e0a9-e50e24dcca9e"
static let kBLE_Characteristic_uuid_Rx = "6e400003-b5a3-f393-e0a9-e50e24dcca9e"

//To notify
peripheral.setNotifyValue(true, for: rxCharacteristic!)

//To write data
blePeripheral.writeValue(Data(byteArray), for: txCharacteristic, type: CBCharacteristicWriteType.withoutResponse)

Not received any updates on RX side. I have checked characteristics properties for TX(write, write without response), for RX(notify).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the BLE service and TX/RX characteristic UUIDs in the issue, then inspect the surrounding notification setup and write call in the app. Reproduce the connection and verify whether RX notifications are enabled and delivered; done means data sent from the TX side is received through RX updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.