Hello all,
I have a new Nano 33 BLE Sense here and my goal is to use it to control a BLE connected Drok DSD Relay module. The Drok IOS app for the iPhone to control the relays and it works fine. The characteristic control word also provided by DROK is:
Channel 1 ON: A00101A2 Channel 1 OFF: A00100A1
Channel 2 ON: A00201A3 Channel 2 OFF: A00200A2
Channel 3 ON: A00301A4 Channel 3 OFF: A00300A3
Channel 4 ON: A00401A5 Channel 4 OFF: A00400A4
I'm also able to use this info with the Bluetooth LE Explorer PC program along with a generic USB Bluetooth module to connect to the DSD relay module and control the relays with program by writing the various control words to the DSD relay module "SimpleKeyState" Characteristic.
I've tried following the code and instructions from several example Arduino BLE programs found on the internet to get the Nano 33 to connect to the relay module all to no avail.
What am I missing? Is it that the Nano 33 BLE Sense is not capable of connecting to a BLE Slave device for this purpose?
Any info to help me understand this BLE communications would be greatly appreciated.
The DSD relay device info is as listed below:
BT Address: b4:52:a9:b0:17:df
Number of Services: 4
BT 4.2 Secure Connection: False
Device Connected: True
Service Name: GenericAccess
Service UUID: 00001800-0000-1000-8000-00805f9b34fb
Characteristic Name: DeviceName - User Description: - Handle: 2 - Value: DSD Relay
Characteristic Name: Appearance - User Description: - Handle: 4 - Value: 00-00
Characteristic Name: PeripheralPrivacyFlag -User Description: - Handle: 6 - Value: 00
Characteristic Name: ReconnectionAddress - User Description: - Handle: 8 - Value: Read Not Permitted
Characteristic Name: PeripheraIPreferredConnectionParameters —User Description: — Handle: 10 –
Value: 50-00-A0-00-00-00-E8-03
Service Name: GenericAttribute
Service UUID: 00001801-0000-1000-8000-00805f9b34fb
Characteristic Name: ServiceChanged - User Description: - Handle: 13 - Value: Read Not Permitted
Service Name: Devicelnformation
Service UUID: 0000180a-0000-1000—8000-00805f9b34fb
Characteristic Name:Systemld - User Description: - Handle: 17 - Value: DF-17-B0-00-00-A9-52-B4
Characteristic Name: ModelNumberString - User Description: - Handle: 19 — Value: SH-HC-08
Characteristic Name: SerialNumberString - User Description: - Handle: 21 — Value: Serial Number
Characteristic Name: FirmwareRevisionString - User Description: - Handle: 23 - Value: Firmware Revision
Characteristic Name: HardwareRevisionString - User Description: - Handle: 25 — Value: V1.12
Characteristic Name: SoftwareRevisionString - User Description: - Handle: 27 - Value: SHV1.5
Characteristic Name: ManufacturerNameString - User Description: — Handle: 29 - Value: www.sihaicorp.com
Characteristic Name: leee11073_20601RegulatoryCertificationDataList — User Description: — Handle: 31 — Value: FE-OO-65-78-70-65-72-69-6D-65-6E-74-61-6C
Characteristic Name: Pnpld — User Description: — Handle: 33 — Value: O1-0D-00-00-00-10-01
Service Name: 65504
Service UUID: 0000ffe0-0000-1000-8000-00805f9b34fb
Characteristic Name: SimpleKeyState ~ User Description: Characteristic1 - Handle: 36 - Value: A0-04-00-A4
SH-BT04A.pdf (369 KB)