rtl8720dn

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: BSD-3-Clause Imports: 14 Imported by: 24

README

RTL8720DN Driver

This package provides a driver to use a separate connected WiFi processor RTL8720DN for TCP/UDP communication.

Using th RTL8720DN Driver

For now, it is only available for the RTL8720DN on Wio Terminal. You can try the following command.

$ tinygo flash --target wioterminal --size short ./examples/net/webclient/
$ tinygo flash --target wioterminal --size short ./examples/net/tlsclient/

RTL8720DN Firmware

Follow the steps below to update. The firmware must be version 2.1.2 or later.

https://wiki.seeedstudio.com/Wio-Terminal-Network-Overview/

Documentation

Index

Constants

View Source
const (
	O_NONBLOCK   = 1 // note: different value than syscall.O_NONBLOCK (0x800)
	RTW_MODE_STA = 0x00000001
)

Variables

This section is empty.

Functions

func New

func New(cfg *Config) *rtl8720dn

Types

type Config added in v0.27.0

type Config struct {
	// Enable
	En machine.Pin

	// UART config
	Uart     *machine.UART
	Tx       machine.Pin
	Rx       machine.Pin
	Baudrate uint32
}

type RPC_T_APP_RESULT

type RPC_T_APP_RESULT int32

type RPC_T_GAP_CAUSE

type RPC_T_GAP_CAUSE int32

type RPC_T_GAP_CFM_CAUSE

type RPC_T_GAP_CFM_CAUSE int32

type RPC_T_GAP_CONFIG_GATT_CCCD_NOT_CHECK

type RPC_T_GAP_CONFIG_GATT_CCCD_NOT_CHECK int32

type RPC_T_GAP_CONN_INFO

type RPC_T_GAP_CONN_INFO int32

type RPC_T_GAP_CONN_PARAM_TYPE

type RPC_T_GAP_CONN_PARAM_TYPE int32

type RPC_T_GAP_IDENT_ADDR_TYPE

type RPC_T_GAP_IDENT_ADDR_TYPE int32

type RPC_T_GAP_LE_CONN_REQ_PARAM

type RPC_T_GAP_LE_CONN_REQ_PARAM int32

type RPC_T_GAP_LE_PARAM_TYPE

type RPC_T_GAP_LE_PARAM_TYPE int32

type RPC_T_GAP_LOCAL_ADDR_TYPE

type RPC_T_GAP_LOCAL_ADDR_TYPE int32

type RPC_T_GAP_PARAM_TYPE

type RPC_T_GAP_PARAM_TYPE int32

type RPC_T_GAP_PHYS_OPTIONS

type RPC_T_GAP_PHYS_OPTIONS int32

type RPC_T_GAP_RAND_ADDR_TYPE

type RPC_T_GAP_RAND_ADDR_TYPE int32

type RPC_T_GAP_REMOTE_ADDR_TYPE

type RPC_T_GAP_REMOTE_ADDR_TYPE int32

type RPC_T_GAP_SEC_LEVEL

type RPC_T_GAP_SEC_LEVEL int32

type RPC_T_GAP_WHITE_LIST_OP

type RPC_T_GAP_WHITE_LIST_OP int32

type RPC_T_GATT_PDU_TYPE

type RPC_T_GATT_PDU_TYPE int32

type RPC_T_GATT_WRITE_TYPE

type RPC_T_GATT_WRITE_TYPE int32

type RPC_T_LE_ADV_PARAM_TYPE

type RPC_T_LE_ADV_PARAM_TYPE int32

type RPC_T_LE_BOND_PARAM_TYPE

type RPC_T_LE_BOND_PARAM_TYPE int32

type RPC_T_LE_CCCD

type RPC_T_LE_CCCD int32

type RPC_T_LE_CONN_PARAM_TYPE

type RPC_T_LE_CONN_PARAM_TYPE int32

type RPC_T_LE_KEY_ENTRY

type RPC_T_LE_KEY_ENTRY int32

type RPC_T_LE_KEY_TYPE

type RPC_T_LE_KEY_TYPE int32

type RPC_T_LE_SCAN_PARAM_TYPE

type RPC_T_LE_SCAN_PARAM_TYPE int32

type RPC_T_LOCAL_APPEARANCE

type RPC_T_LOCAL_APPEARANCE int32

type RPC_T_LOCAL_NAME

type RPC_T_LOCAL_NAME int32

type RPC_T_SERVICE_CALLBACK_TYPE

type RPC_T_SERVICE_CALLBACK_TYPE int32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL