是的,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).
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.
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.
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
Thanks your reply.
But I can't find TPS profile file and app file in proximity reporter.
Best regards,
Hogyun Kim.
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
Dear Dialog,
Thanks your reply.
Could you provide the TXPS seperated file with example project ?
Best regards,
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