-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Dear Sir,
I am working on a project to realize the nRF8001 HRM demo application using the Github code that you suggested. However, I am stuck at a point in the code and don't know what is wrong. If you can provide any suggestions at the earliest I would be really obliged.
The scenario happens to be as follows:
Hello
Initializing
Waiting for Standby state
Calling transmitReceive...
event handler
EVENT debug=1 length=4 event=DeviceStartedEvent
Operating mode: Setup
Hardware error: No error
DataCreditAvailable: 2
sending setup message number 0
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 1
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 2
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 3
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 4
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 5
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 6
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 7
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 8
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 9
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 10
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 11
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 12
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 13
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 14
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 15
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 16
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 17
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 18
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 19
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 20
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 21
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 22
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 23
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 24
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 25
non-success command response event: 0x1
ready for next setup message
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction continuation status
Op: Setup
sending setup message number 26
non-success command response event: 0x2
setup complete
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Transaction completed
Op: Setup
setup is complete!
event handler
EVENT debug=1 length=4 event=DeviceStartedEvent
Operating mode: Standby
Hardware error: No error
DataCreditAvailable: 2
setup is complete!
device in Standby state, returning
SUCCESS
calling transmitCommand
event handler
EVENT debug=1 length=10 event=CommandResponseEvent
Status: Success
Op: GetDeviceAddress
Address: 0xea00fbf5c054
calling transmitCommand
received temperature
event handler
EVENT debug=1 length=5 event=CommandResponseEvent
Status: Success
Op: GetTemperature
26.00 C
Temperature: 26.00
connecting
polling
event handler
EVENT debug=1 length=3 event=CommandResponseEvent
Status: Success
Op: Connect
ready to send data
device not connected
device not connected
calling transmitCommand
polling
received temperature
event handler
EVENT debug=1 length=5 event=CommandResponseEvent
Status: Success
Op: GetTemperature
26.00 C
polling
ready to send data
device not connected
device not connected
calling transmitCommand
polling
received temperature
event handler
EVENT debug=1 length=5 event=CommandResponseEvent
Status: Success
Op: GetTemperature
25.75 C
polling
after this its keep polling and printing temperature. i have used same service pipes as you have suggested. the schematic is as per nordic's datasheet. i am not able to figure out where the problem is?
I am at wit's end trying to find out the reason for the same. On my hardware I have used the suggested balun components in the nRF8001 datasheet for impedence matching. I have tried using an SMA antenna, a chip antenna and a PCB trace antenna but nothing seems to help.
Once again, any suggestions/recommendations to go forward will be highly appreciated.
Thanks