-------------------------------------USB TEXT Command---------------------- 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 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 get information about 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 } 8. 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 } 8. For upload JPEG files in spiffs inside 'images' folder command = sending**1.jpeg**14114**1024 (sending**filename**filesize**chunksize) response = "ok" after each chunk 9. For upload MP3 files in spiffs inside 'mp3' folder command = sendingaudio**1.mp3**14114**1024 (sendingaudio**filename**filesize**chunksize) response = "ok" after each chunk 10. For start rotation command = startrotation response = Command received. Starting rotation mode... 11. For stop rotation command = stoprotation response = Rotation mode stopped. 12. 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 13. 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 14. For Check available memory command = freesize response = 1278343 exit 15. For set timer in seconds command = settimer**seconds (settimer**2) response = New timer set to 2 seconds. exit ---------------------------- USB BIll responce json command ------------------------------------------ COMMAND FOR SHOW SINGLE ITEM : newbill**Cold Drink**ITM002**100.0**2**bottle**200.0**600.0 (newbill**itemname**itemcode**price**quantity**unit**total**grandtotal) COMMAND FOR SHOW FULL BILL : 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"}} singlebillformat**1 --> for change sigle item theme bill newbill** --> display bill in this theme changejsontheme**1 --> for change json bill item theme billjson**<> DisplayTotalScreen**2390.32**50**50**2390.32 (DisplayTotalScreen**totalamount**discountamount**taxamount**grandtotal)