{"title":"register_device_request","category":"default","creationDate":1776961627,"content":"<table>\n<thead>\n<tr>\n<th>Value<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>address<\/code><\/td>\n<td>The address of the PED to be registered. For PED devices connected directly to the Internet, it is the URL of the PED (for example\u00a0https&#58;\/\/localhost:8443\/) For PED devices connected to a serial port, it is the COM port (like: <span translate=\"no\"><strong>\/dev\/ttyS0<\/strong><\/span> or <span translate=\"no\"><strong>\/dev\/ttyUSB0<\/strong><\/span>, etc.).<\/td>\n<\/tr>\n<tr>\n<td><code>callbacks<\/code><\/td>\n<td>An array with callback function pointers; struct of type <code>device_callbacks<\/code> defines the callbacks that the PED uses to communicate with the POS. The relevant callback at this stage is the <code>device_state_update_CB<\/code>, that reports the device status. The other callbacks are related to performing transactions. The callbacks struct also defines an echo_struct pointer, which allows the POS to pass a pointer to a POS specific struct. This can be echoed during any of the callbacks.<\/td>\n<\/tr>\n<tr>\n<td><code>store<\/code><\/td>\n<td>The store identifier. Use this to register the device to a specific store.<\/td>\n<\/tr>\n<tr>\n<td><code>posregister_configured_name<\/code><\/td>\n<td>The POS sets a unique name for itself using this element. This is recorded in the plataforma de pagamentos da Adyen with each transaction.<\/td>\n<\/tr>\n<tr>\n<td><code>posregister_mac_address<\/code><\/td>\n<td>The POS MAC address; the MAC address of the POS to be set by the POS. This is recorded in the plataforma de pagamentos da Adyen with each transaction.<\/td>\n<\/tr>\n<tr>\n<td><code>number_of_payment_device_options<\/code><\/td>\n<td>The number of payment device options; the number of payment device options in the <code>PAYMENT_DEVICE_OPTION<\/code> array.<\/td>\n<\/tr>\n<tr>\n<td><code>device_options<\/code><\/td>\n<td>An array with payment device options; enum of type <code>PAYMENT_DEVICE_OPTION<\/code> and defines some options that can be passed on to the PED.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/register_device_request","articleFields":{"id":"25152534","type":"page","_expandable":{"operations":""},"status":"current","last_edit_on":"26-04-2019 14:35"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/register_device_request","title":"register_device_request","content":"\n\n\nValue\nDescription\n\n\n\n\naddress\nThe address of the PED to be registered. For PED devices connected directly to the Internet, it is the URL of the PED (for example\u00a0https&#58;\/\/localhost:8443\/) For PED devices connected to a serial port, it is the COM port (like: \/dev\/ttyS0 or \/dev\/ttyUSB0, etc.).\n\n\ncallbacks\nAn array with callback function pointers; struct of type device_callbacks defines the callbacks that the PED uses to communicate with the POS. The relevant callback at this stage is the device_state_update_CB, that reports the device status. The other callbacks are related to performing transactions. The callbacks struct also defines an echo_struct pointer, which allows the POS to pass a pointer to a POS specific struct. This can be echoed during any of the callbacks.\n\n\nstore\nThe store identifier. Use this to register the device to a specific store.\n\n\nposregister_configured_name\nThe POS sets a unique name for itself using this element. This is recorded in the plataforma de pagamentos da Adyen with each transaction.\n\n\nposregister_mac_address\nThe POS MAC address; the MAC address of the POS to be set by the POS. This is recorded in the plataforma de pagamentos da Adyen with each transaction.\n\n\nnumber_of_payment_device_options\nThe number of payment device options; the number of payment device options in the PAYMENT_DEVICE_OPTION array.\n\n\ndevice_options\nAn array with payment device options; enum of type PAYMENT_DEVICE_OPTION and defines some options that can be passed on to the PED.\n\n\n","type":"page","locale":"pt","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"C library integration","lvl5":"Structs","lvl6":"register_device_request"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs","lvl6":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/structs\/register_device_request"},"levels":7,"category":"In-person payments","category_color":"green","tags":["register_device_request"]}}
