Other Parts Discussed in Thread: CC2640
The company I work has designed a product with a PCB with an LSR SaBLE-X chip and this chip contains a Texas Instruments CC2640 chip. At this time we don't have time to write a fullblown application for this chip so to start with we have to settle with a product without Bluetooth capabilities (we also have a separate ARM processor on our PCB so our product will still be able to do things, but not wirelessly). The plan is to mount the SaBLE-X chip on the PCB from the beginning and develop the firmware for the CC2640 in the future and then upgrade our existing products to make them Bluetooth capable. I have been assigned the task to verify that the hardware and the PCB works fine and I need to run the following tests:
A. Have the CC2640 chip advertise and let a master (for example, an Android smart phone or a PC) find it and establish a connection. Then, the master should send a packet somehow and when the CC2640 chip receives this packet is should toggle a GPIO pin.
B. Have the CC2640 chip advertise and let a master (for example, an Android smart phone or a PC) find it and establish a connection. Then the CC2640 chip should send a packet (for example, it can be hardcoded in the firmware that it sends a packet every second) and this packet should somehow create a reaction in the master.
I am a beginner at programming Bluetooth and using realtime operating system and would very much appreciate some advice on this.
1. What example project (BloodPressure, CyclingSensor, DualImageConcept, GlucoseCollector, etc) would you recommend I base these tests on?
2. What is the best way to make the master send a packet for test A?
3. What is the best way to make the slave send a packet in test B?
4. What is the best way to have the master indicate that it receive a proper packet in test B?
In addition to my Android (Samsung S5 and S7 Edge) smart phones, I have a small PCB with a USB-connector called "Texas Instruments Model: CC2640Dongle (MINIDK) Rev.: 1.0.1". However, I am unabled to put this PCB to use, when I plug it into my computer there's an exclamation mark in the Device Manager and the description is a very long string of what appears to be Chinese letters. Thanks in advance for any help!