Skip to content

Commit 479eb28

Browse files
lemreymbolivar-nordic
authored andcommitted
[nrf noup] net: socket: add SO_DFU_ERROR socket option
Add SO_DFU_ERROR socket option for DFU socket. The option can be used when a operation on a DFU socket returns -ENOEXEC, indicating that the modem has rejected the operation, to retrieve the reason for the error. Signed-off-by: Emanuele Di Santo <[email protected]> (cherry picked from commit 6f06005) Signed-off-by: Martí Bolívar <[email protected]>
1 parent 0c8d621 commit 479eb28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/net/socket.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,7 @@ struct ifreq {
808808
#define SO_DFU_REVERT 5
809809
#define SO_DFU_BACKUP_DELETE 6
810810
#define SO_DFU_OFFSET 7
811+
#define SO_DFU_ERROR 20
811812

812813
/** @cond INTERNAL_HIDDEN */
813814
/**

0 commit comments

Comments
 (0)