# `Sending HTML File `
### `Goal`
**Sending html file through BT LE Extended Advertising**
### `How`
1. Convert input file (filehtml) to string

2. Convert string to hex array

### `Result`
1. In cmd, create any html (now we just name test.html)
Type ".\hcitool.exe test.html"

2. Using Ellisys to hear the sending package


3. Click any bottom to close the exe

---
### `Reference`
https://stackoverflow.com/questions/12771347/how-to-read-from-file-in-command-line-arguments-otherwise-standard-in-emulate
https://stackoverflow.com/questions/12183932/read-a-html-file-into-a-string-variable-in-memory