# Select digital I/O state

**URL:** <https://community.teltonika.lt/t/select-digital-i-o-state/5083>\
**Category:** Telematics\
**Created:** [April 2, 2024, 5:18am UTC](https://community.teltonika.lt/t/select-digital-i-o-state/5083 "2024-04-02T05:18:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsantin](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/g/7cd45c/32.png) [@gsantin](https://community.teltonika.lt/u/gsantin)\
**Post date:** [April 2, 2024, 5:18am UTC](https://community.teltonika.lt/t/select-digital-i-o-state/5083/1 "2024-04-02T05:18:37Z")

</div>

Hey everyone.  
I’m using the FMM125, and I didn’t find the protocol to choose the I/O output state, only via SMS. Is it possible to send the command to change the output I/O state over TCP? If yes, how can I do this?

---

<div class="post-metadata">

**Author:** ![Maynard](https://community.teltonika.lt/user_avatar/community.teltonika.lt/maynard/32/6396_2.png) [@Maynard](https://community.teltonika.lt/u/Maynard)\
**Post date:** [April 2, 2024, 5:35am UTC](https://community.teltonika.lt/t/select-digital-i-o-state/5083/2 "2024-04-02T05:35:23Z")

</div>

Hello,

Good day, yes you can send GPRS commands via TCP.  
Kindly visit this page to know more: [Codec - Wiki Knowledge Base | Teltonika GPS (teltonika-gps.com)](https://wiki.teltonika-gps.com/view/Codec#Codec_12)

First is you need to convert the SMS command into a codec 12/13/14 format.

**for example codec 12 format**

command: **setdigout 1**  
codec 12 in hex: **000000000000000E0C017365746469676F757420310100007DE7**

Best Regards  
Maynard C

---

<div class="post-metadata">

**Author:** ![gsantin](https://community.teltonika.lt/letter_avatar_proxy/v4/letter/g/7cd45c/32.png) [@gsantin](https://community.teltonika.lt/u/gsantin)\
**Post date:** [April 2, 2024, 11:28am UTC](https://community.teltonika.lt/t/select-digital-i-o-state/5083/4 "2024-04-02T11:28:55Z")

</div>

Thank you very much for the response. I hadn’t noticed that codec12 was used for sending commands to the device. It was there all along hehehe.

Best regards  
Gabriel S.

---

<div class="post-metadata">

**Author:** ![Maynard](https://community.teltonika.lt/user_avatar/community.teltonika.lt/maynard/32/6396_2.png) [@Maynard](https://community.teltonika.lt/u/Maynard)\
**Post date:** [April 3, 2024, 5:11am UTC](https://community.teltonika.lt/t/select-digital-i-o-state/5083/5 "2024-04-03T05:11:57Z")

</div>

Closed on April 3, 2024, 5:11am UTC


