RAK7268V2 downlink a large number of packets

The end device joins the network in ClassC mode. How can I downlink a large number of packets using the RAK7268’s built-in server? For example, write a programme that makes the inbuilt server downlink packets automatically, rather than manually downlinking one packet at a time at Wisgate OS.