question

xtiger avatar image
xtiger asked

Is it possible to send notifications to Echo using alexa-gadgets-sample-code?

I want to know how to send notifications to my gadget that is not Echo Button.

I wonder I can receive a data through notifications for control my gadget.

I found a source code about the notification in alexa-gadgets-sample-code

I don't understand how to use it.

Already I have experience making Event of my gadget using nanopb for pairing and handshake.

Link : https://developer.amazon.com/docs/alexa-gadgets-toolkit/example-serializing-deserializing.html

but I think Directive is the sending message from echo to my gadget.

Could you tell me how to use it or let me know example code?

gadgets toolkit
noti.png (17.7 KiB)
serialize.png (27.3 KiB)
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

roy-1 avatar image
roy-1 answered

Hi xtiger,

Please see the reply in the following forum thread and let me know if that helps:

https://forums.developer.amazon.com/questions/192733/do-i-have-to-use-the-notification-interface-for-co.html

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.