beautypg.com

Ronetworkhotplug – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 221

background image

213

TestInternetConnectivity() As Object: Performs various tests on the Internet connection (via any
available network interface, not necessarily the one specified when the roNetworkConfiguration object was created)
to determine whether it appears to be working correctly. It reports the results via an associative array containing the
following members:

ok

Boolean

This value is True if the tests find no problems, or False if at least one

problem was identified.

diagnosis String

A single line diagnosis of the first problem identified with the Internet

connection.

log

roArray of strings

A complete log of all the tests performed and their results.

GetNeighborInformation() As roAssociativeArray: Retrieves location information from the network
infrastructure using the LLDP-MED protocol. The information is returned as an associative array of strings
corresponding to civic-address types, which are defined as follows according to the LLDP-MED specification:

CAtype

Label

Description

1

A1

national subdivisions (state, region, province, prefecture)

2

A2

county, parish, gun(JP), district(IN)

3

A3

city, township, shi(JP)

4

A4

city division, borough, city district, ward, chou(JP)

5

A5

neighborhood, block

6

A6

street

CAtype

NENA

PIDF

Description

Examples

0

language

i-default [3]

16

PRD

PRD

leading street direction

N

17

POD

POD

trailing street suffix

SW