gdlc sample with 8051, API.