cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

New Contributor II

     HRM_DataLogger with CySmart1.0 Dongle:

   

          

   

The HRM_DataLogger connected to the CySmart1.0  dongle functions as described in the accompanied DataLogger.pdf file. However, to actually see the changing heart rate on the Tera Term  the tab 'Enable All  Notifications' must be clicked (this tab becomes visible when 'Discover All Attributes' is clicked) . Below is a sample of output from the Tera Term:

   

EVT_TIMEOUT: 1                    

   

CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP, state: 3

   

CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP, state: 3

   

EVT_GATT_CONNECT_IND: attId 0, bdHandle 4

   

EVT_GAP_DEVICE_CONNECTED: 4

   

EVT_GATTS_XCNHG_MTU_REQ

   

Heart Rate Measurement Notification is Enabled

   

Heart Rate Notification is sent successfully, Heart Rate = 72

   

Data logged successfully

   

Data read back: 0x41 0x03 0x00 0x00

   

Heart Rate Notification is sent successfully, Heart Rate = 84

   

Data logged successfully

   

et.

   

HRM_DataLogger with CySmart Android App:

   

The HRM_DataLogger application connects OK with my Android Asus tablet but only displays a pulsing heart icon but no numerical data. I get the same results using a Galaxy phone.

   

Below is a sample of output from the Tera Term:

   

BLE Heart Rate Sensor Example Project

   

Stack Version: 1.0.0.181

   

EVT_STACK_ON

   

Start Advertisement with addr: 00a0500b1208

   

CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP, state: 3

   

EVT_GATT_CONNECT_IND: attId 0, bdHandle 4

   

EVT_GAP_DEVICE_CONNECTED: 4

   

Heart Rate Measurement Notification is Disabled

   

Heart Rate Measurement Notification is Disabled

   

Heart Rate Measurement Notification is Disabled

   

Heart Rate Measurement Notification is Disabled

   

Heart Rate Measurement Notification is Disabled

   

Heart Rate Measurement Notification is Disabled

   

etc

   


   

It appears that the Android CySmart app fails to  enabled the Heart Rate Measurement Notification and hence no data is transmitted by the BLE to the Client.

   

Interesting the HRM_DataLogger used with the iPhone CySmart iOS app displays all numeric data that changes according to the simulation.

   

Is this the result of a problem with the Android CySmart App?

   

 

0 Likes
Reply
2 Replies
Anonymous
Not applicable

 In the CySmart PC App, the client has to enable the notifications so that the server would send the data and it wold be seen in CySmart.

0 Likes
Reply
New Contributor II

Enabled notification and Data Logger works as described.

   

Thanks

0 Likes
Reply