Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Blood Pressure → Thread

   

smartLAB profi+ Blood Pressure Monitor

Rank

Total Posts: 6

Joined 0

PM

Thanks rizopoulos
Now I have moved to next step not get authentication invitation command from beacon now i need to send the authentication response to beacon, i want to make the passkey authentication for example i will choose my passkey is "8765" then how do i send this info to becon will i need to send the acknowledge message or brust message to beacon.      
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

If I remember right, this is NOT what you're supposed to do. In this pairing step the bpm will send HIS passkey that your monitoring device/app is supposed to store in a safe place.
It shall later on use it to connect to the bpm with passkey authentication.      
Rank

Total Posts: 6

Joined 0

PM

Thanks guys

I am on now transport state, and becon(BPM) transmit 1 transport beacon message and then sending infinite busy state messgae, should i need to reply download request to BPM,

I have made the download request format can anyone let me know i am going in right way or not.

becon data format

byte[] datapacket1 = {(byte)0x44, (byte)0x09, (byte)0x00, (byte)0x00,
(byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00}; //Download request packet 1
byte[] datapacket2 = {(byte)0x00, (byte)0x01, (byte)0x00, (byte)0x00,
(byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00}; //Download request packet 1
mAntReceiver.ANTSendBurstTransfer((byte)0x00, datapacket1);
mAntReceiver.ANTSendBurstTransferPacket((byte)0x00, datapacket2);

Thanks in advance      
Rank

Total Posts: 6

Joined 0

PM

I got this response after sending the brust message to becon, i am expecting the download response from beacon

Here is the response from the beacon

Rx:[03][40][00][01][05]
Rx:[03][40][00][50][1F]      
Avatar
RankRankRankRank

Total Posts: 213

Joined 2011-05-02

PM

Your download request format looks fine to me.

The response is not the response from the blood pressure monitor, it is the response from ANT that is generated in response to a message or an RF event.

The response Rx:[03][40][00][01][05] indicates you are getting are EVENT_TRANSFER_TX_COMPLETED, which occurs when an acknowledge data message or burst transfer sequence has been completed successfully.

The next response, Rx:[03][40][00][50][1F] is a TRANSFER_IN_PROGRESS indication. That means you attempted to communicate with a channel with a transmit transfer in progress, i.e. a burst transfer or acknowledge message is still queued to be sent on a channel, and you tried to send another burst or ack message on that channel.

It seems to me you are getting a TRANSFER_IN_PROGRESS response because you are attempting to send two bursts, one right after the other in your code:

mAntReceiver.ANTSendBurstTransfer((byte)0x00, datapacket1);
mAntReceiver.ANTSendBurstTransferPacket((byte)0x00, datapacket2);

The first function ANTSendBurstTransfer, takes the channel number that you wish to send the burst transfer on as the first argument, and the ENTIRE burst buffer as the second argument. You should combine datapacket1 and datapacket2 into one array, and use the ANTSendBurstTransfer to send the entire burst buffer in one go. It is not necessary to send send separate burst transfer packets if you use the ANTSendBurstTransfer function.

I hope that makes sense.

Cheers,

Kassandra      
Rank

Total Posts: 6

Joined 0

PM

Once again thanks rizopoulos

I want to download first file from BPM Monitor file index show in directory file in 0 but if i pass 0 then send me the directory response, so how can i send the file download request to BPM
file index is 0 and it size is 48[0x30]byte.

here is request commend that i sent to BPM monitor.

byte[] datapacket1 = {(byte)0x44, (byte)0x09, (byte)0x01, (byte)0x00,(byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,(byte)0x00, (byte)0x01, (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,(byte)0x00};//Download first file
mAntReceiver.ANTSendBurstTransfer((byte)0x00, datapacket1);

Thanks      
Avatar
RankRankRankRank

Total Posts: 213

Joined 2011-05-02

PM

Hello,

Index 0 indicates the directory, so any request to download index 0 is actually a request to download the directory.

I hope this helps,

Kassandra      
Rank

Total Posts: 3

Joined 0

PM

b_bleier - 09 August 2011 02:04 AM
Hello OMB,
As you already know the HMM BPM has some bugs.
1) Device descriptor,
2) only works for point-to-point communication and goes in error mode when connecting to multiple receivers.


Does anyone know if those bugs were fixed? Thanks!      
Avatar
RankRankRankRank

Total Posts: 235

Joined 2012-08-31

PM

Hi amurua,

I think there has been some progress, but for specifics I would recommend that you contact HMM directly, as they would know exactly what has been done and which model(s) any fixes apply to.

Thanks,

Kat      
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

I haven't followed progress with this device, since I had encountered the problems 1 year ago or so.
But HMM support was very responsive and helpful then, so I can only encourage you to contact them via email.

Cheers,
OMB      
Rank

Total Posts: 3

Joined 0

PM

Thanks a lot!