Change over Printer_GetDeviceID() to require a pointer to the destination buffer plus the buffer size, rather than using a pointer to a special structure. Make new Printer_SendData() function to hide the implementation of sending data to an attached printer, cleaning up the main demo source file body. |
||
|---|---|---|
| .. | ||
| BluetoothHost | ||
| PrinterHost | ||