Steps to generate script for smart view-
1. Install Wireshark and capture network trace which is not capture by LR
2. save this trace as .pcap file
3. check with command prompt ( netstat- noa) smartview connection
4. In LR create mobile app protocol Script and click on record , select "Analyse traffice " option and specify wireshark file location ( filter by IP and port 1900)
5. create wb protocol scripts and copy the scripts code generated in step 4.
Try this
Good Luck