User Tools

Site Tools


uphp:library_functions:library_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:library_functions:library_functions [2021/04/09 06:24]
admin
uphp:library_functions:library_functions [2021/09/13 05:57] (current)
Line 18: Line 18:
 </html>|<html><span style="color:black"> none</html>|[[system]]|Add a system role| </html>|<html><span style="color:black"> none</html>|[[system]]|Add a system role|
 |[[fgets_long]]|<html><span style="color:green">int<span style="color:blue"> handle</html>|<html><span style="color:green">string<span style="color:black"></html>|[[fileio]]|Read a line without length restriction from an open file| |[[fgets_long]]|<html><span style="color:green">int<span style="color:blue"> handle</html>|<html><span style="color:green">string<span style="color:black"></html>|[[fileio]]|Read a line without length restriction from an open file|
 +|[[mb_get_error_string]]|<html><span style="color:green">int<span style="color:blue"> error</html>|<html><span style="color:green">string<span style="color:blue"></html>|[[modbus]]|Get human readable error description|
 +|[[mb_set_float_be_0x10]]|<html><span style="color:green">int<span style="color:blue"> id, <span style="color:green">int<span style="color:blue"> bus, <span style="color:green">int<span style="color:blue"> reg, <span style="color:green">int<span style="color:black"> val, <span style="color:green">int<span style="color:blue"> retries</html>|<html><span style="color:green">int<span style="color:blue"></html>|[[modbus]]|Set a modbus float in big endian using function 10h|
 +|[[mb_set_float_le_0x10]]|<html><span style="color:green">int<span style="color:blue"> id, <span style="color:green">int<span style="color:blue"> bus, <span style="color:green">int<span style="color:blue"> reg, <span style="color:green">int<span style="color:black"> val, <span style="color:green">int<span style="color:blue"> retries</html>|<html><span style="color:green">int<span style="color:blue"></html>|[[modbus]]|Set a modbus float in little endian using function 10h|
 |[[mb_set_int16_0x03]]|<html><span style="color:green">int<span style="color:blue"> id, <span style="color:green">int<span style="color:blue"> bus, <span style="color:green">int<span style="color:blue"> reg, <span style="color:green">int<span style="color:black"> val, <span style="color:green">int<span style="color:blue"> retries</html>|<html><span style="color:green">int<span style="color:blue"></html>|[[modbus]]|Set a modbus device register using function 03h| |[[mb_set_int16_0x03]]|<html><span style="color:green">int<span style="color:blue"> id, <span style="color:green">int<span style="color:blue"> bus, <span style="color:green">int<span style="color:blue"> reg, <span style="color:green">int<span style="color:black"> val, <span style="color:green">int<span style="color:blue"> retries</html>|<html><span style="color:green">int<span style="color:blue"></html>|[[modbus]]|Set a modbus device register using function 03h|
 +|[[mb_set_int16_0x10]]|<html><span style="color:green">int<span style="color:blue"> id, <span style="color:green">int<span style="color:blue"> bus, <span style="color:green">int<span style="color:blue"> reg, <span style="color:green">int<span style="color:black"> val, <span style="color:green">int<span style="color:blue"> retries</html>|<html><span style="color:green">int<span style="color:blue"></html>|[[modbus]]|Set a modbus device register using function 10h|
 +|[[mb_set_uint32_be_0x10]]|<html><span style="color:green">int<span style="color:blue"> id, <span style="color:green">int<span style="color:blue"> bus, <span style="color:green">int<span style="color:blue"> reg, <span style="color:green">int<span style="color:black"> val, <span style="color:green">int<span style="color:blue"> retries</html>|<html><span style="color:green">int<span style="color:blue"></html>|[[modbus]]|Set a modbus UINT32 in big endian using function 10h|
 +|[[mb_set_uint32_le_0x10]]|<html><span style="color:green">int<span style="color:blue"> id, <span style="color:green">int<span style="color:blue"> bus, <span style="color:green">int<span style="color:blue"> reg, <span style="color:green">int<span style="color:black"> val, <span style="color:green">int<span style="color:blue"> retries</html>|<html><span style="color:green">int<span style="color:blue"></html>|[[modbus]]|Set a modbus UINT32 in little endian using function 10h|
 |[[quick_sort]]|<html><span style="color:green">array<span style="color:blue"> src_array<span style="color:black">,  |[[quick_sort]]|<html><span style="color:green">array<span style="color:blue"> src_array<span style="color:black">, 
 <span style="color:green">int<span style="color:blue"> sort_type<span style="color:black"></html>|<html><span style="color:green">array<span style="color:black"></html>|[[array]]|Sort an array using quicksort| <span style="color:green">int<span style="color:blue"> sort_type<span style="color:black"></html>|<html><span style="color:green">array<span style="color:black"></html>|[[array]]|Sort an array using quicksort|
 |[[remove_cron]]|<html><span style="color:green">int<span style="color:blue"> filename<span style="color:black"> |[[remove_cron]]|<html><span style="color:green">int<span style="color:blue"> filename<span style="color:black">
 </html>|<html><span style="color:black"> int</html>|[[system]]|Remove a scheduled CRON script| </html>|<html><span style="color:black"> int</html>|[[system]]|Remove a scheduled CRON script|
 +|[[smtp_mail]]|<html><span style="color:green">string<span style="color:blue"> to, <span style="color:green">string<span style="color:blue"> from, <span style="color:green">string<span style="color:blue"> subject, <span style="color:green">string<span style="color:black"> message, <span style="color:green">string<span style="color:blue"> user, <span style="color:green">string<span style="color:blue"> password, <span style="color:green">string<span style="color:blue"> host, <span style="color:green">int<span style="color:blue"> port</html>|<html><span style="color:green">int<span style="color:blue"></html>|[[smtp]]|Send an email over SMTP|
  
uphp/library_functions/library_functions.1617949466.txt.gz · Last modified: 2021/09/13 05:56 (external edit)