> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/sdi_2src_2ped_8h_source.md).

# ped.h

[Go to the documentation of this file.](/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdi_2src_2ped_8h.md)

```cpp
 1 /****************************************************************************
 2 * Product: InFusion
 3 * Company: Verifone
 4 * Author: GSS R&D Germany
 5 * Content: SDI-Server
 6 ****************************************************************************/
 7 
 8 #ifndef _PED_H_
 9 #define _PED_H_
 10 
 11 #define CLA_PED 0x22 
 12 
 13 #define INS_PED_ENABLE 0x00 
 14 #define INS_PED_GET_PIN 0x01 
 15 #define INS_SET_PIN_TIMEOUT 0x02 
 16 
 17 #define INS_PED_START_PIN 0x03 
 18 #define INS_PED_POLL_PIN 0x04 
 19 #define INS_PED_STOP_PIN 0x05 
 20 
 21 #define INS_SET_PIN_INPUT_PARAM 0x06 
 22 
 23 #define INS_PED_DUAL_PIN_VALIDATE 0x07 
 24 
 25 #ifdef __cplusplus
 26 extern "C"
 27 {
 28 #endif
 29 
 40 bool handlePedCmd(unsigned short msgBufSize, unsigned char *msg, unsigned short msgSize, unsigned short rspBufSize, unsigned char *rsp, unsigned short *rspSize);
 41 
 47 bool pedSetExtButton(void);
 48 
 59 void pedReset(void *handle);
 60 
 61 #ifdef __cplusplus
 62 }
 63 #endif
 64 
 65 #endif // _PED_H_
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/sdi_2src_2ped_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
