***********BLE COMMANDS***************** welcome WelcomeScreen**bonrix ************************************** ************************************** Topay DisplayQRCodeScreen**upi://pay?pa=63270083167.payswiff@indus&pn=Bonrix&cu=INR&am=10&pn=Bonrix%20Software%20Systems**10**7418529631@icici ********************************************************************************************* ************************************** DisplayFailQRCodeScreen**1234567890**ORD10594565**29-03-2023 DisplayCancelQRCodeScreen**1234567890**ORD10594565**29-03-2023 DisplaySuccessQRCodeScreen**1234567890**ORD10594565**29-03-2023 "startrotation" - for start rotation "stoprotation" - for stop rotation "setvolume**10" - for change volume level(change value) ***********USB COMMANDS***************** 1. For get current volume level command = getvolume response = Current Volume: 18 2. for setvolume directly command = setvolume**21 (setvolume**volume) response = Volume set to: 19 3. for increment and decrement volume manually '+' command for increment response = Volume: 20 '-' command for decrement response = Volume: 19 4. For play MP3 file stored in spiffs inside 'mp3' folder command = play**filename (play**1.mp3) 5. For delete MP3 files command = delete**foldername**filename (delete**mp3**1.mp3) response = Full path to delete: /mp3/1.mp3 File deleted: /mp3/1.mp3 6. For delete rotation JPEG files command = delete**foldername**filename (delete**images**2.jpeg) response = Full path to delete: /images/2.jpeg File deleted: /images/2.jpeg 7. For delete Theme Images command = delete**textimage**filename (delete**textimage**qrcode.jpeg) response = Full path to delete: /textimage/qrcode.jpeg File deleted: /textimage/qrcode.jpeg 8. For delete JSON config file command = delete**json**filename (delete**json**display_config.json) response = Full path to delete: /json/display_config.json File deleted: /json/display_config.json 9. For get information about rotation jpeg files stored in spiffs command = fileinfo response = { "images": [ { "filename": "1.jpeg", "size": 94597 }, { "filename": "2.jpeg", "size": 20350 }, { "filename": "3.jpeg", "size": 61545 }, { "filename": "4.jpeg", "size": 86536 } ], "totalBytes": 1799921, "usedBytes": 521578, "availableBytes": 1278343 } 10. For get information about mp3 files stored in spiffs command = fileinfomp3 response = { "mp3files": [ { "filename": "1.mp3", "size": 103016 }, { "filename": "2.mp3", "size": 149667 } ], "totalBytes": 1799921, "usedBytes": 521578, "availableBytes": 1278343 } 11. For get information about theme JPEG files stored in spiffs command = fileinfodqr response = { "files": [ { "filename": "fail.jpeg", "size": 34715 }, { "filename": "pending.jpeg", "size": 31405 }, { "filename": "qrcode.jpeg", "size": 35852 }, { "filename": "success.jpeg", "size": 35705 }, { "filename": "welcome.jpeg", "size": 89528 } ], "totalBytes": 1966080, "usedBytes": 880640, "availableBytes": 1085440 } 12. For upload rotation JPEG files in spiffs inside 'images' folder command = sending**1.jpeg**14114**1024 (sending**filename**filesize**chunksize) response = "ok" after each chunk 13. For upload MP3 files in spiffs inside 'mp3' folder command = sendingaudio**1.mp3**14114**1024 (sendingaudio**filename**filesize**chunksize) response = "ok" after each chunk 14. For upload theme JPEG files in spiffs inside 'textimage' folder command = sendingdefaultimage**welcome.mp3**14114**1024 (sendingdefaultimage**filename**filesize**chunksize) response = "ok" after each chunk 15. For upload JSON config file in spiffs inside 'json' folder command = sendingjson**display_config.json**2048**1024 (sendingjson**filename**filesize**chunksize) response = "ok" after each chunk 16. For change JSON config file content in spiffs inside 'json' folder through text command command = sendtext**{"DisplayQRCodeScreen":{"text_to_pay":{"x":200,"y":250,"color":"BLACK"},"amount_text":{"positions":{"1":[210,260],"2":[200,260],"3":[190,260],"4":[180,260], "5":[170,260],"default":[160,260]},"color":"ORANGE"},"qr":{"version":10,"size":5,"x_offset":100,"y_offset":320},"upi":{"x":100,"y":620,"color":"ORANGE"}},"DisplaySucc essQRCodeScreen":{"amount_text":{"positions":{"1":[192,390],"2":[180,390],"3":[168,390],"4":[156,390],"5":[144,390],"default":[132,390]},"color":"BLACK"}}} (sendtext**jsoncontent) response = Updated display_config.json successfully. Config updated successfully! 17. For start rotation command = startrotation response = Command received. Starting rotation mode... 18. For stop rotation command = stoprotation response = Rotation mode stopped. 19. For upload image in Ram/buffer and display command = startsendingfile welcome.jpeg 16771 (startsendingfile filename.jpeg filesize) Response = Command received. Preparing to receive file... send image in chunk final response = Image Displayed Successfully 20. For upload mp3 file in Ram/buffer command = startsendingaudio welcome.jpeg 16771 (startsendingaudio filename.jpeg filesize) Response = Command received. Preparing to receive file... send image in chunk final response = MP3 Data received successfully 21. For Check available memory command = freesize response = 1278343 exit 22. For set timer in seconds command = settimer**seconds (settimer**2) response = New timer set to 2 seconds. exit 23. For set rotation timer in seconds command = setrotationtimer**seconds (setrotationtimer**2) response = New timer set to 2 seconds. exit 24. For show single bill items command = newbill**Cold Drink**ITM002**100.0**2**bottle**200.0**600.0 25. For show full bill command = billjson**{"storeInfo":{"storeName":"Test Store","address":"123 Test Street","phone":"123-456-7890","gstin":"TEST123456"},"billInfo":{"billNo":"1","date":"2025-02-17","time":"12:00","cashier":"Test Cashier"},"customerInfo":{"customerName":"John Doe","customerPhone":"987-654-3210"},"items":[{"itemName":"Item 1","quantity":2,"pricePerUnit":10.0,"total":20.0},{"itemName":"Item 2","quantity":1,"pricePerUnit":15.0,"total":15.0},{"itemName":"Item 3","quantity":1,"pricePerUnit":15.0,"total":15.0}],"totals":{"subTotal":50.0,"tax":5.0,"discount":0.0,"totalAmount":55.0,"amountPaid":55.0,"paymentMethod":"Cash"},"footer":{"message":"Thank you for testing!","website":"www.teststore.com"}} response = Bill screen displayed successfully! 26. For change single bill item theme command = singlebillformat**1 // change number to 1,2,3 for change theme response = Bill format set to 1 27. For change full bill item theme command = changejsontheme**1 // change number to 1,2,3 for change theme response = JSON Bill theme changed to 1 28. Text commands for different screens welcome WelcomeScreen**bonrix ************************************** ************************************** Topay DisplayQRCodeScreen**upi://pay?pa=63270083167.payswiff@indus&pn=Bonrix&cu=INR&am=10&pn=Bonrix%20Software%20Systems**10**7418529631@icici ********************************************************************************************* ************************************** DisplayFailQRCodeScreen**1234567890**ORD10594565**29-03-2023 DisplayCancelQRCodeScreen**1234567890**ORD10594565**29-03-2023 DisplaySuccessQRCodeScreen**1234567890**ORD10594565**29-03-2023**10 ********************************************* ************************************************ DisplayTotalScreen**2390.32**50**50**2390.32 ************************************************ 29. For audio on   command = audioon   response = Audio is now ON. 30. For audio off   command = audiooff   response = Audio is now OFF.