HCRP Printer Application
Hi Marcel,
Please find attached the source code for an application written on the BlueZ Stack that will emulate an HCRP Printer. The source code is divided into three files (main.c, sdp.c and hcrp.c).
It is actually based on the HCRP Client application written by you that is present in the bluez-util-x.x/cups folder.
I am not an expert in writing Makefiles, so can you please write one for it?
To test it, I just compiled it as follows:
gcc -o printer main.c sdp.c hcrp.c -lbluetooth
Usage:
======
./printer ctrl_psm data_psm
Where ctrl_psm is the l2cap psm for the Control channel and data_psm is the l2cap psm for the Data channel. (As you know that PSM values for control channel and data channel is dynamic in HCRP).
I would be grateful if you could add this application in the next release of bluez-utils.
Also, now since there are both HCRP Client and Printer present, you may have to create separate folders for them inside cups/ My suggestion would be to go for cups/client and cups/printer.
Please let me know in case of any clarification.
Thanks.
Regards,
Mayank
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Mayank,
Quoted 2 lines
Please find attached the source code for an application written on the BlueZ Stack that will emulate an HCRP Printer. The source code is divided into three files (
main.c,sdp.candhcrp.c).
this is still on my todo list. I haven't found time to actually look at it and integrate it.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel