Dear all
I am following the sw prog guide.
Got to chapter 10: Create new profile.
All was fine until 10.4 where it states:
Service attribute value must be set to service UUID:
const struct att_uuid_128 sample128_1_svc = {{0xf0, 0x28, 0xe3, 0x68, 0x62,
0xd6, 0x34, 0x90, 0x51, 0x43, 0xef, 0xaa, 0xc6, 0x4c, 0x2f, 0xbc}};
status = attmdb_att_set_value(sample128_env.sample128_1_shdl, ATT_UUID_128_LEN,
(uint8_t *)sample128_1_svc.uuid);
Were should I add it?
Thanks
Everything in chapter 10 is already implemented in the given sample128 profile
■sample128.c
■sample128.h
■sample128_task.c
■sample128_task.h
Thanks
I tried to find were it is but couldn't find it. I guess that there are some inaccuracies in the guide.
What about chapter 11? How do i create
app_sample128.c
■ app_sample128.h
■ app_sample128_task.c
■ app_sample128_task.h
Are they different than
sample128.c
■sample128.h
■sample128_task.c
■sample128_task.h
?
Yes, those are the application layer files which you need to create yourself. Start populating them using the proximity reporter application as a model.
I feel stupid asking these silly questions but paragraph 11.4 states:
"Created code can be added in the project by following the process described for DISS profile
application code in paragraph 2.5."
Where is this document?
Thanks
In paragraph 10.1 you state:
"To enable profile, CFG_PRF_SAMPLE128 directive must be defined in da14580_config.h."
Shouldn't rwble_hl_config.f be changed too?
Otherwise were is BLE_SAMPLE128 defined?
Thanks