I took a quick glance of the above. I thought you missed a line:
Try it out...
but that did not change anything
I think you missed the line
// total length should be less than 31 bytes
Please try hell instead of hello client.
I copied this section as is from hello_sensor.
It works in hello_sensor.
Why doesn't it work in hello_client ?
1 of 1 people found this helpful
Are you invoking both bleprofile_Init() and blecen_Create()? If you are, then remove the call to bleprofile_Init().
That was it.
I believe that calling both function 'bleprofile_Init' and 'blecen_Create' is originated in the sample hello_client.c from WICED Smart SDK.
Would you comment that which one is supposed to be removed? 'bleprofile_Init' or 'blecen_Create'?
In 2.2 version of the hello_client ble profile calls are commented out
// this is done by blecen