LLCP protocol for Android Beam

I am trying to communicate with my Galaxy S III and a microcontroller that is equipped with an N5 PN532 chip.

Since this is a microcontroller, I cannot use the LLCP library by default, so I have to understand the Android protocol myself.

Can someone clarify for me, when I first placed the phone on the device, what packages to expect from the very first step? If I understand correctly, I see:

DSAP: 3F PTYPE: 0 SSAP: 0 

and

 DSAP: 1E PTYPE: C SSAP: 0 

Is it on the right lines? What does Android do? Would I expect an attempt to connect to the info packet?

Thanks so much for any clarifications.

+7
source share
1 answer

Android uses NDEF Push Protocol (NPP) (PDF) on top of LLCP for Android Beam.

Therefore, you need to implement both LLCP ( official specification download , mirror in Korea ) and NDEF-Push on top of it. Starting at API level 14, Android also uses SNEP as an alternative to NPP, but may automatically return .

+2
source

All Articles