6 posts / 0 new
Last post
hogyunkim
Offline
Last seen:4 months 4 weeks ago
Joined:2016-01-18 04:23
TPS (Tx Power Service)

Dear Dialog,
I want to know whether SDK 5.0.4 supports TPS (Tx Power Service) or not.

Best regards,

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi hogyunkim,

Hi hogyunkim,

是的,SDK 5.0.4 T的实现X power Service and is included in the proximity reporter (there is no seperate file for this profile the database creation is in the proximity monitor).

Thanks MT_dialog

hogyunkim
Offline
Last seen:4 months 4 weeks ago
Joined:2016-01-18 04:23
Thanks your reply.

Thanks your reply.
But I can't find TPS profile file and app file in proximity reporter.

Best regards,
Hogyun Kim.

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi hogyunkim,

Hi hogyunkim,

As i ve mentioned the Tx service is not implemented as a seperate service (there is no seperate file that indicates TPS) the implementation of the Tx Power service is part of the proximity service, if you check in the proxr_create_db_req_handler() function (this is the handler that handles the creation of the database command) you should see the below commands:

//Add TXPS Into Database
status = attm_svc_create_db(&proxr_env.txps_shdl, NULL, TXPS_IDX_NB, NULL,
dest_id, &proxr_txps_att_db[0]);
//Disable TXPS
attmdb_svc_set_permission(proxr_env.txps_shdl, PERM(SVC, DISABLE));

The above commands create the TX Power service, if you need this service seperately, you will have to isolate it from the proximity database creation and create your own files.

Thanks MT_dialog

hogyunkim
Offline
Last seen:4 months 4 weeks ago
Joined:2016-01-18 04:23
Dear Dialog,

Dear Dialog,

Thanks your reply.
Could you provide the TXPS seperated file with example project ?

Best regards,

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi hogyunkim,

Hi hogyunkim,

As i ve mentioned the TX profile is only provided through the proximity profile as a feature, there is no file that implements only the TX power profile, you can find the example in the proximity profile the file you should check are proxr.c/proxr_task.c/app_proxr.c/app_proxr_task.

Thanks MT_dialog