Skip to content

@phpoc phpoc released this Jul 7, 2020

PHPoC Support Package

  • Date: 2020.07.07.

  • lib/sc_envs.php

    Supports APP ENV
    Supports dump ENV

  • lib/sc_envu.php

    Add 0xFF to the trailing character that needs to be removed

  • lib/sd_340.php

    Supports P4M-400

  • lib/sn_mysql.php

    Add a exception for server greeting error

  • lib/sn_smtp.php

    Bug fix | fixed TCP local port number

  • lib/sn_esmtp.php

    Bug fix | fixed TCP local port number
    Change ssl client version : fixed to TLS v1.0 -> variable (TLS v1.0 ~ v1.2[default])

  • lib/beta/sn_http_b1.php

    Change ssl client version : fixed to TLS v1.0 -> variable (TLS v1.0 ~ v1.2[default])

  • example/net/01.php_task/email/task0.php

    Additional debugging messages about mail delivery failure

  • example/net/01.php_task/http_get/task0.php

    Change peer hostname : www.google.com -> example.phpoc.com

  • example/net/01.php_task/tcp0_echo_ac/task0.php

    Add debugging messages about TCP rcvd/echo data

  • example/net/01.php_task/tcpn_echo_ac/task0.php

    Add debugging messages about TCP rcvd/echo data

  • example/net/02.html_text/setup/

    Disable Wi-Fi settings for the product supports Ethernet only, ex) P4S-341
    Remove an Ad-Hoc option for WLAN Topology
    Change Sollae homepage URL : www.sollae.co.kr -> www.eztcp.com

  • example/p4s/05.html5_graphics/02.adc_light_sensor/

    Fixed websocket path typo

  • new beta library

    sc_cps_b1.php
    sn_http_b2.php
    new version of sn_http_b1.php
    sn_mqtt_b1.php
    supports mqtt protocol
    sn_dfu_b1.php
    dfu pxm is required to use this library
    sc_modbus_b1.php
    supports modbus (TCP/RTU/ASCII) protocol, xuart pxm is required to use this library

  • new examples

    example/beta/mqtt/publisher/
    example/beta/mqtt/subscriber/
    example/net/01.php_task/https_get/
    example/p4m/01.php_task/00.hello/
    example/p4m/01.php_task/01.uio_buzzer/
    example/p4m/01.php_task/01.uio_ob_led/
    example/p4m/01.php_task/01.uio_touch_sensor/
    example/p4m/01.php_task/02.adc_light_sensor/
    example/p4m/01.php_task/02.adc_rotary_angle/
    example/p4m/01.php_task/03.ht_pwm_servo/
    example/p4m/01.php_task/03.ht_ultrasonic/
    example/p4m/01.php_task/06.uart_hello/
    example/p4m/01.php_task/08.pes_2401_blink_output
    example/p4m/01.php_task/08.pes_2402_get_input
    example/p4m/01.php_task/08.pes_2405_move_fast
    example/p4m/01.php_task/08.pes_2405_move_slow
    example/p4m/02.html_text/00.hello/
    example/p4m/02.html_text/01.uio_buzzer/
    example/p4m/02.html_text/01.uio_ob_led/
    example/p4m/02.html_text/01.uio_touch_sensor/
    example/p4m/02.html_text/02.adc_light_sensor/
    example/p4m/02.html_text/02.adc_rotary_angle/
    example/p4m/02.html_text/03.ht_pwm_servo/
    example/p4m/02.html_text/03.ht_ultrasonic/
    example/p4m/03.html_image/00.hello/
    example/p4m/03.html_image/01.uio_buzzer/
    example/p4m/03.html_image/01.uio_ob_led/
    example/p4m/03.html_image/01.uio_touch_sensor/
    example/p4m/03.html_image/02.adc_light_sensor/
    example/p4m/03.html_image/02.adc_rotary_angle/
    example/p4m/03.html_image/03.ht_pwm_servo/
    example/p4m/03.html_image/03.ht_ultrasonic/
    example/p4m/03.html_image/08.pes_2401_push_output
    example/p4m/04.html5_text/00.hello/
    example/p4m/04.html5_text/01.uio_touch_sensor/
    example/p4m/04.html5_text/02.adc_light_sensor/
    example/p4m/04.html5_text/02.adc_rotary_angle/
    example/p4m/04.html5_text/03.ht_ultrasonic/
    example/p4m/05.html5_graphics/00.hello/
    example/p4m/05.html5_graphics/01.uio_buzzer/
    example/p4m/05.html5_graphics/01.uio_ob_led/
    example/p4m/05.html5_graphics/02.adc_light_sensor/
    example/p4m/05.html5_graphics/02.adc_rotary_angle/
    example/p4m/05.html5_graphics/03.ht_pwm_servo/
    example/p4m/05.html5_graphics/08.pes_2404_pos_rpm
    example/p4m/05.html5_graphics/08.pes_2405_touch_rotate

Assets 2

@phpoc phpoc released this Aug 28, 2017

PHPoC Support Package

  • Date: 2017. 08. 17.
  • example name change

    01.php_task/01.uart_hello => 01.php_task/06.uart_hello

  • new p4s examples

    01.php_task/08.pes_2401_blink_output
    01.php_task/08.pes_2402_get_input
    01.php_task/08.pes_2405_move_fast
    01.php_task/08.pes_2405_move_slow
    03.html_image/08.pes_2401_push_output
    05.html5_graphics/08.pes_2404_pos_rpm
    05.html5_graphics/08.pes_2405_touch_rotate

Assets 2
Pre-release
Pre-release

@phpoc phpoc released this Aug 28, 2017

PHPoC Support Package

  • Date: 2017. 07. 20.
  • sn_dns.php : dns cache support
  • new beta library : sn_http_b1.php, sn_json_b1.php, sn_sntp_b1.php, sn_thingspeak_b1.php
  • Compatible with the official firmware (v1.3.0)
Assets 2

@phpoc phpoc released this Aug 28, 2017

PHPoC Support Package

  • Date: 2017. 06. 02.
  • sn_smtp.php

    line : include_once "/lib/sn_dns.php";

  • sn_esmtp.php

    line : include_once "/lib/sn_dns.php";

  • sn_mysql.php

    line : include_once "/lib/sn_dns.php";

  • sd_spc.php : new function

    spc_request_sys(int $sid, string $cmd)
    spc_request_dev(int $sid, string $cmd)

  • Compatible with the official firmware (v1.3.0)
Assets 2

@phpoc phpoc released this Aug 28, 2017

PHPoC Support Package

  • Date: 2017. 02. 27.
  • new library : sd_spc.php
  • sd_340.php

    TxDE flow control support

  • sn_esmtp.php

    auth comparison order change : PLAIN/LOGIN => LOGIN/PLAIN

  • sn_mysql.php

    change default tcp/udp id : 0 => 4
    change default timeout : 5 => 6 seconds
    change argument and return value : mysql_error(), mysql_errno()
    add return logic from server : mysql_ping(), mysql_select_db()
    minor bug fixes

  • sn_tcp_ac.php

    tcp reconnect bug fix

  • Compatible with the official firmware (v1.3.0)
Assets 2

@phpoc phpoc released this Aug 28, 2017

PHPoC Support Package

  • Date: 2017. 02. 16.
  • Initial release (from psp2_20160519)
  • Compatible with the official firmware (v1.2.0)
Assets 2