From: Nordic ID Support <support@nordicid.com>
Sent: Monday, February 27, 2017 10:05 PM
To: Jin <jin@intensecomp.com>
Subject: RE: Raspberry PI Set Region and Power for Sampo S1
Hi Jin,
Here is an example how to enable antennas 1, 2, 7, 8 and disable other. It sets antenna selection also to auto mode.
struct NUR_MODULESETUP setup;
setup.selectedAntenna = NUR_ANTENNAID_AUTOSELECT;
setup.antennaMaskEx = NUR_ANTENNAMASK_1 | NUR_ANTENNAMASK_2 | NUR_ANTENNAMASK_7 | NUR_ANTENNAMASK_8;
error = NurApiSetModuleSetup(hApi, NUR_SETUP_ANTMASKEX | NUR_SETUP_SELECTEDANT, &setup, sizeof(setup));
if (error != NUR_NO_ERROR)
return; // Handle error..
If you have any further questions, please don't hesitate to contact us.
Best Regards,
Turo Rantanen | Technical Support Engineer
Nordic ID | Myllyojankatu 2 A | FI-24100 Salo | Finland | Office +358 2 727 7700
Support +358 2 727 7790 | Direct +358 40 838 0284 | Skype turo.rantanen@nordicid.com
http://www.nordicid.com | RFID Arena | Facebook | Twitter | YouTube
From: Jin [mailto:jin@intensecomp.com]
Sent: Monday, February 27, 2017 12:47 PM
To: Nordic ID Support <support@nordicid.com>
Subject: RE: Raspberry PI Set Region and Power for Sampo S1
Hi Turo,
I need to get some advice from you regarding configure antennas in an application. I would like to set 9 antennas for reading and turn off the remaining antennas (for AR52).
Currently I'm using the sample application from the C documentation. See image below:
I found out the value of NUR_MAX_ANTENNAS_EX is 32. May I know it's correct if I set it to 9 for my requirement? For your information, I suspect my reader will always set the active antenna to 1 during boot up. Thus, the reading become invalid/weak. After I found out the issue I've to configure the antennas I required from RFID Configurator. I would like to set up the active antennas in the application main function.
Regards,
Jin
From: Nordic ID Support [mailto:support@nordicid.com]
Sent: Friday, December 9, 2016 4:38 PM
To: Jin Chua <jin@intensecomp.com>
Subject: RE: Raspberry PI Set Region and Power for Sampo S1
Oh, I forgot. Inventory stream stops automatically every 20 seconds, so you have to restart it if inventoryStream->stopped = TRUE
Best Regards,
Turo Rantanen
From: Nordic ID Support
Sent: Friday, December 09, 2016 10:33 AM
To: 'Jin Chua' <jin@intensecomp.com>
Subject: RE: Raspberry PI Set Region and Power for Sampo S1
Hi Jin,
You have to use antennaMaskEx instead of antennaMask. See:
https://github.com/NordicID/nur_sdk/blob/master/include/NurAPI.h#L601
https://github.com/NordicID/nur_sdk/blob/master/include/NurAPIConstants.h#L616
From here you can find the latest SDK:
https://github.com/NordicID/nur_sdk
If you have any further questions, please don't hesitate to contact us.
Best Regards,
Turo Rantanen | Technical Support Engineer
Nordic ID | Myllyojankatu 2 A | FI-24100 Salo | Finland | Office +358 2 727 7700
Support +358 2 727 7790 | Direct +358 40 838 0284 | Skype turo.rantanen@nordicid.com
http://www.nordicid.com | RFID Arena | Facebook | Twitter | YouTube
From: Jin Chua [mailto:jin@intensecomp.com]
Sent: Friday, December 09, 2016 9:50 AM
To: Nordic ID Support <support@nordicid.com>
Subject: RE: Raspberry PI Set Region and Power for Sampo S1
Thanks Turo,
We manage to setup the region and TX level from Raspberry Pi.
I've another request.
I've just started to program AR52 in Raspberry Pi as well. I've modify the nurcon app to do continuous read. I notice the modified nurcon app will hang after a certain period. I only connect up to 10 antennas. The remain 6 antennas port are not connected.
Do you have a sample code for continuous read?
Thanks.
On Wed, Dec 7, 2016 at 8:15 PM +0800, "Nordic ID Support" <support@nordicid.com> wrote:
Hi Jin,
It's as simple as the following:
struct NUR_MODULESETUP moduleSetup;
NurApiGetModuleSetup(hApi, NUR_SETUP_ALL, &moduleSetup, sizeof(moduleSetup));
moduleSetup.txLevel = 0;
moduleSetup.regionId = NUR_REGIONID_EU;
NurApiSetModuleSetup(hApi, NUR_SETUP_ALL, &moduleSetup, sizeof(moduleSetup));
Here are some samples for you:
https://dl.dropboxusercontent.com/u/21843112/nurcon.zip
If you have any further questions, please don't hesitate to contact us.
Best Regards,
Turo Rantanen | Technical Support Engineer
Nordic ID | Myllyojankatu 2 A | FI-24100 Salo | Finland | Office +358 2 727 7700
Support +358 2 727 7790 | Direct +358 40 838 0284 | Skype turo.rantanen@nordicid.com
http://www.nordicid.com | RFID Arena | Facebook | Twitter | YouTube
From: Jin Chua [mailto:jin@intensecomp.com]
Sent: Tuesday, December 06, 2016 11:33 AM
To: Nordic ID Support <support@nordicid.com>
Subject: Raspberry PI Set Region and Power for Sampo S1
Hi Support,
May I know is there a sample source code to set region and power for Sampo S1. I'm coding in C for Raspberry PI.
Thanks,
JIN
Intensecomp

Comments
Post a Comment