> 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/tec_2export_2tec_2ped_8h_source.md).

# ped.h

[Go to the documentation of this file.](/s-adk-5.1-programmers-guide/readme/files/dir_c2b6fb90cbe225a4c7f5c562006e9b78/dir_797c2eec9d33c0e51d543580c2b239ca/dir_fa87c044aa590573d847d8ba2d3b48c1/tec_2export_2tec_2ped_8h.md)

```cpp
 1 
 7 #ifndef __TEC_LIB_PED_INTERFACE__
 8 #define __TEC_LIB_PED_INTERFACE__
 9 
 10 #ifdef __cplusplus
 11 extern "C" {
 12 #endif
 13 
 18 #define PED_OK 0 
 19 #define PED_ERROR -1 
 20 #define PED_ERR_LOAD -2 
 27 #define PED_LINK_OK 0 
 28 #define PED_NS_DONE 1 
 29 #define PED_CERT_ERR 2 
 30 #define PED_NS_ERR 3 
 40 typedef int (* ped_SendCallback) (const unsigned char *data, int len);
 41 
 49 typedef int (* ped_RcvCallback) (unsigned char *data, int len);
 50 
 51 
 61 int ped_SetSendRcvCb(ped_SendCallback scbf, ped_RcvCallback rcbf);
 62 
 71 int ped_Pairing(int *status);
 72 
 80 int ped_MovePin(void);
 81 
 82 
 83 #ifdef __cplusplus
 84 }
 85 #endif
 86 
 87 #endif
```


---

# 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/tec_2export_2tec_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.
