Thank you Dee !

Now I able to sent one file from one Android phone to FFOS-Nexus-4 :)

Thanks
Dhyan


On Thursday, November 14, 2013 1:19:56 PM UTC+5:30, Dimi Lee wrote:
> Hi Dhyan
> 
>   Currently nfcd default do not turn on hardware.
> 
>   You will need to wait NFC on/off setting page land or manually turn on NFC 
> by modifying nfcd.
> 
>   If you want to turn on NFC manually please add following code in nfcd.cpp
> 
> 
> 
>   // Original
> 
>   service->initialize(pNfcManager, msgHandler);
> 
> 
> 
>   // Add
> 
>   service->enableNfc();
> 
> 
> 
>  Best regards
> 
>  Dimi  
> 
> 
> 
> ----- Original Message -----
> 
> From: "Dhyan" <[email protected]>
> 
> To: [email protected]
> 
> Sent: Thursday, November 14, 2013 3:20:49 PM
> 
> Subject: Re: [b2g] NFC - Could not connect to nfcd socket
> 
> 
> 
> Thank you Thomas !
> 
> 
> 
> But again a basic question,With this fix and nfcd alone are you able to 
> detect NFC devices ?
> 
> 
> 
> Thanks
> 
> Dhyan 
> 
> 
> 
> On Wednesday, November 13, 2013 7:11:30 PM UTC+5:30, Dhyan wrote:
> 
> > Dear Thomas,
> 
> > 
> 
> > 
> 
> > 
> 
> > Thanks for your suggestion,How ever attachment is missing :)
> 
> > 
> 
> > 
> 
> > 
> 
> > Regards
> 
> > 
> 
> > Dhyan 
> 
> > 
> 
> > 
> 
> > 
> 
> > On Wednesday, November 13, 2013 6:38:52 PM UTC+5:30, Thomas Zimmermann 
> > wrote:
> 
> > 
> 
> > > Hi Dhyan,
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > The file /dev/socket/nfcd is created by the init script init.b2g.rc. I
> 
> > 
> 
> > > 
> 
> > 
> 
> > > have the same problem, which I fixed with the attached work around. You
> 
> > 
> 
> > > 
> 
> > 
> 
> > > need to apply it in gonk-misc and rebuild.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > Best regards
> 
> > 
> 
> > > 
> 
> > 
> 
> > > Thomas
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > On 13.11.2013 14:02, Dhyan wrote:
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Dear B2G-NFC team,
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > I am an NFC beginner, and added nfcd[BUGID-927274] code to my Nexus-4 
> > > > build.
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Now I can see nfcd process in my phone
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > root      182   1     5024   1496  ffffffff b6dfabbc S /system/bin/nfcd
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > But I am not seeing any nfcd socket entry in /dev/socket/, because of 
> > > > this i am getting 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > E/nfcd    (  182): Could not connect to nfcd socket error in logcat
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > So can you please share some knowledge like, which module creates 
> > > > /dev/socket/nfcd entry ?
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Or how can I test some nfcd daemon functionality without upper layers?
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > 
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Thanks
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > Dhyan
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > _______________________________________________
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > dev-b2g mailing list
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > [email protected]
> 
> > 
> 
> > > 
> 
> > 
> 
> > > > https://lists.mozilla.org/listinfo/dev-b2g
> 
> > 
> 
> > > 
> 
> > 
> 
> > > >
> 
> 
> 
> _______________________________________________
> 
> dev-b2g mailing list
> 
> [email protected]
> 
> https://lists.mozilla.org/listinfo/dev-b2g

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to